Hi there,

Does anyone know how to assign an expression to the control points of a Bezier curve using Python?

Put another way, I'm searching for the Python command to set an expression on Roto1.curves.Bezier1.curve.0.main.x as seen in the expression editor when you manually add an expression. I'm fairly new to Nuke/Python, so apologies if I am missing something obvious.

- I have explored setExpression() but it works on knobs only as far as I understand, and if the points are inside ['curves'] I can't find the syntax to access them. - I can fully access the points and their positions using the ShapeControlPoint class. But this class doesn't offer any clues on how to set an expression on them. - I've been through the entire tutorial on http://docs.thefoundry.co.uk/nuke/63/pythondevguide/rotopaint.html but the answer proves elusive.

Thank you,
Chris Lesage, FrimaFX

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

Reply via email to