I thought I saw in a relatively recent post an 'if statement' that
allowed the preselection of the rendering method. At the moment, I find
that F5preview takes far longer than F6 (manifold), and I'd like to be
able to prevent the F5 rendering of my particular script. I've also
noticed that under the view tab, it lists F9 as preview. (it shows F5
for preview under the design tab and F6 for render) . Can I disable
preview from within my script?
On 2/14/2025 10:19 AM, Raymond West via Discuss wrote:
I thought I saw in a relatively recent post an 'if statement' that
allowed the preselection of the rendering method. At the moment, I
find that F5preview takes far longer than F6 (manifold), and I'd like
to be able to prevent the F5 rendering of my particular script. I've
also noticed that under the view tab, it lists F9 as preview. (it
shows F5 for preview under the design tab and F6 for render) . Can I
disable preview from within my script?
You can always slap a render() around the entire model. Other than
that, no.
On 14.02.25 19:19, Raymond West via Discuss wrote:
Can I disable preview from within my script?
Depends on what you mean by that. You can't disable
the menu or anything like that.
You can stop preview from happening with:
assert(!$preview, "Preview not supported!");
ciao,
Torsten.