I'm just starting to get familiar with bpy.types and application modules, but I didn't find an answer to this:

Concerning A Bezier Curve with multiple splines, is there a python way in EDIT mode to know on which spline I am working on (activated in the viewport) except iterating every single bezier_point inside ?

Thanks in advance, jimflim


1 Answer 1


You can access this from the spline collections.

obj = bpy.context.object
curve = obj.data
spline = curve.splines.active



You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .