📋 Metadata

💬 Content

Hi roaoao,
First of all, thanks a lot for your add-on. I could not imagine Blender without it.

I tried to make a pie menu for curve editing but I encountered a small problem.
I want to be able to change some parameters of the active spline like cyclic or smooth values.
When I right clic on those parameters to send the function to my pie menu, it gives me this code:
C.object.data.splines[0].use_smooth
How can I change this to affect the active spline instead of the spline[0].

Here’s a sceenshot for better explanations:

curve_pie_problem01curve_pie_problem011572×879 157 KB


🔗 View on Blender Artists