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


You can access this from the spline collections.

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


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.