hey everyone,
   I'm trying to set a python expression with setExpression() but it always
errors out.

Here's how I'm setting it

nuke.selectedNode().knob("Dropdown").setExpression("[python
nuke.thisParent().dependencies()[0].knob("OtherDropdown").value()]")

It doesn't seem to like the [0].  Cause I get an IndexError: list index out
of range.  But this expression works in other nodes.

Anyone know of a work around or another way to get this expression into a
Enumeration_Knob?
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to