Apparently this was a problem of either too much caffeine or not enough. I was misreading the function docs, and can call it properly now.
However, it seems to do nothing :( After setting the new position, the spline points do not move, and if you re-read the positions, they remain at their original values From: [email protected] [mailto:[email protected]] On Behalf Of John Vanderbeck Sent: Thursday, June 02, 2011 4:46 PM To: [email protected] Subject: [Nuke-python] AnimControlPoint.setPosition I am trying to use AnimControlPoint.setPosition() to programmatically move control points in a rotoshape. Basically I am iterating through all points in a shape and apply a transformation to each point individually, and then I want to move that point to the new position. Unfortunately I can't seem to get setPosition to work. The docs don't' specify what type of value it is expecting for 'position' and I've tried everything I can think of with no result. The exception keeps indicating it expects a type of unspecified which isn't much help :) Has anyone used this function before?
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
