cam = nuke.nodes.Camera(name="Projection_Cam", translate='1 2 3', rotate='4 5 6')


Manley wrote:
Hello, I am unable to figure out how to set multiple knobs in one string of code.
Example:

projCam = nuke.nodes.Camera (name="Projection_Cam")['translate'].setValue(ACTran)['rotate'].setValue(ACRotate)


If I try to set more than one knob at once I get an error:
TypeError: 'bool' object is unsubscriptable

What am I doing wrong? Question

_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

-- 
erik winquist
weta digital


_______________________________________________
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