Hello all,

Apologies if this has already been covered.

I'm dynamically creating custom nodes and setting their "port"
attributes (float or int) with a python script. Nothing fancy --
simply creating a custom node and setting a port number... basic
stuff, right? However, when I invoke my function from a custom python
panel, even though the port attribute appears correct, it doesn't work
correctly until I change the value manually in the interface and
change it back to the intended value... So, I tried running the exact
same script directly from Nuke's script editor window and it WORKS
perfectly!

When I poll the node's "port" attribute in both cases (whether
generated via panel or script editor) they appear to return the same
float value. When I examine the actual .nk script, the values also
appear to be identical...

I'm scratching my head here... Any ideas how I might be able to get
this script to work without asking the user to run a function in the
Nuke editor?

I'm running Nuke 6.3v6 on Snow Leopard.

All ideas, thoughts, and suggestions are appreciated...

Cheers,

-Jep
sent via mobile
_______________________________________________
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