I'm trying to figure out how to get BezierCurve objects from within a roto node.
I was following a previous post (https://forum.natron.fr/t/getting-the-bezier-points/234)
for some of the code but once I get to the point of crawling through the base layer children, they all
show up as ItemBase objects and not BezierCurves. How do I get relevant BezierCurve points, positions and keyframe information from its base class?
roto_node = app1.getNode("Roto1")
context = roto_node.getRotoContext()
base = context.getBaseLayer()
for child in base.getChildren():
print child # Pretty unhelpful
print child.getParam(child.getScriptName()) # Needs script name but that doesn't seem to work either [returns None]
has anyone done this successfully?