Works like a charm!!
Thanks!
 
 

> Ben Dickson <ben.dick...@rsp.com.au> hat am 2. März 2016 um 13:46 geschrieben:
>
>
> Try cam.forceValidate() after setting read_from_file to True
>
> On 02/03/16 23:04, Thomas Volkmann wrote:
> > 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
> > Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> >
>
> --
> ben dickson
> 2D TD | ben.dick...@rsp.com.au
> rising sun pictures | www.rsp.com.au
>
_______________________________________________
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