Hi,

Is there any way I can evaluate an expression, just like Nuke does
internally?

For example, in the code below I wish to evaluate val into C:/Write1.001.jpg
:

val = nuke.toNode('Write1').knob('file').getValue()print val
# Result:
[ python 'C:/' + nuke.thisNode().name() ].%04d.jpg

Regards,
Fredrik
​
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to