hmmm, trying to figure out the best approach

I have a group/gizmo that I want to include the option of using Ocula
to generate a new view.  totally optional, not necessary.

but when launching Nuke without an Ocula license, the unused ocula
nodes error out and paint the node red.

I'd like to avoid having an "ocula" and "non ocula" version of this node.

anyone run into this before?

I guess ideally I'd just like to suppress the missing plugin error
message and go on about my merry way, but the only thing I know of is
the "this.error" expression in the disable knob, which only disables
the node but leaves the error message.

I suppose I could script some mojo that probes for the ocula license
and if it doesn't find it, deletes the offending nodes?  I'm not even
sure how I'd do that, maybe calling some sort of env var from a
wrapper script ("ocula=true") and if true then deleting the ocula
nodes.  seems messy.

any ideas?
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to