Sep
20
Hi!
I’m trying to access array of points in bezier node with python in nuke.
Lets concider we have a bezeir node that is selected.
Now I want to know
1) the list of points with theirs positions
2) array of current selected in viewport points of bezier curve
I’m trying to access array of points in bezier node with python in nuke.
Lets concider we have a bezeir node that is selected.
Now I want to know
1) the list of points with theirs positions
2) array of current selected in viewport points of bezier curve
So far i’ve got:
Code:
a= nuke.selectedNodes()[0].knob('points')
#and I can see only string version of the points
print a.toScript()
#this will be slow so I need array of points without strong -> array conversion
#and additional array of currently selected points
Thank you 🙂
Post a Comment