Thanks, Frank.

I couldn't get the root to get to work...camera name is string and so Nuke 
gives an error if I try that.  How do you use that btw?  

Sorry I am not an expert and Nuke scripting is a bit new to me.

I am guessing the problem is the communication between the Tcl level code and 
Python?

So I tried accessing the camera name using Tcl (after a fair amount of digging 
around), and the only way I could find was 

nuke.tcl('in '+nuke.tcl('selected_node')+' {import_chan_file '+channelFile+'}')

and that worked.  Assuming of course that selected_node is a camera.



_______________________________________________
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