Hi,
 
I want to load an Alembic camera via script and disable 'read from file'
straight away, so that I can change values for 'near' and 'far'.
Problem is, that Nuke doesn't read in the Alembic file when I disable
'read_from_file' within the same script.
Basically I do:

1. cam = nuke.toNode("Camera")

2. cam.knob('file').setValue(<Alembic_file>)

3. cam.knob('read_from_file').setValue(True)

4. cam.knob('read_from_file').setValue(False)

 

Steps 2 and 3 are interchangeable, the result is the same: I don't get the
animation curves....

Any ideas for a workaround? Otherwise the user will just have to run a second
script afterwards..

 

cheers,

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

Reply via email to