Hi,

in my .nuke folder i have a text file called dh_pycode.py
It contains several functions i want to call in my menu.py like this:

import sys
import nuke
import dh_pycode

nuke.menu("Nodes").addCommand("User/FiletypeConverter", 
dh_pycode.fileconverter, '‘)

i always get the message „error interpreting this plug-in“ when starting nuke.
There are other menu entries added in the menu.py which are not calling 
functions from  the dh_pycode.py. When i comment out „import dh_pycode“ and its 
corresponding menu entry, everything works.
How do you call external python code in menu.py?

Daniel 



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

Reply via email to