I'm working on a python script that imports cameras from a stereo maya scene.
It worked all well since I was using Nuke5, but now that I've upgraded to Nuke6 I have the following problem:
These lines used to work:
But... the "import_chan" knob on the Camera node is not working anymore!Code:camera_lx.knob("import_chan").setValue("import_chan_file " + chan_path) camera_lx.knob("import_chan").execute() camera_lx.knob("import_chan").setValue("import_chan")
Now it's an "Obsolete_knob" and I can't execute it.
To import a chan manually, I have to click on "file_menu" icon and then "import chan file".. But I don't have any idea of how this can be done by script!
Can you guys help me?
Thanks in advance,