Hello,
I was trying to use the toScript() Method listed here:
http://docs.thefoundry.co.uk/nuke/90/pythonreference/nuke.MenuItem-class.html

Whatever I try to pass as an argument, (including the command listed as an
example in the docs) I get:
RuntimeError: item is not a script command

I get the same error when using the .script() method.

I was just exploring the capabilities of this function, so far no luck. Am
I doing something wrong? It seems like it's not accepting strings as an
argument.

Anyone ever used that method?


*Erwan* LEROY
www.erwanleroy.com
_______________________________________________
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