I am not sure which update() function you are referring to. There doesn't appear to be one in the RotoKnob docs. However, your comment prompted me to look a bit closer at the RotoKnob and I did see that it has a changed() function. Calling that after my changes does indeed seem to update the spline. Thanks!
So that takes care of issue #1. Issues #2, animation, is still a problem for me. I presume I need to be using setPositionAnimCurve() or setPositionKey() instead of setPosition(), however aside from the function header, there appears to be no docs on those functions and I haven't figured out how to use them yet. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Wouter Klouwen Sent: Monday, June 06, 2011 10:46 AM To: [email protected] Subject: Re: [Nuke-python] AnimControlPoint.setPosition On 06/06/2011 14:29, John Vanderbeck wrote: > First off, I don't know if it's a local viewer issue, but whenever I use > this function it appears to do nothing. Until such time as you either > left click on the viewer, or select a different spline in the roto node, > then select the original spline again. When you do either of those > actions, suddenly the spline will snap to its new position. Does it help if you do an update() on the RotoKnob object that the AnimControlPoint is in? -- Wouter Klouwen, Software Engineer The Foundry, 6th Floor, The Communications Building, 48 Leicester Square, London, WC2H 7LT, UK T: +442079686828 - F: +442074341550 - thefoundry.co.uk The Foundry Visionmongers Ltd - Reg.d in England and Wales No: 4642027 _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
