Post #2989: Hi roaoao,
π Metadata
- Author: eltarbos
- Date: 2020-01-25 11:05:19
- Type:
question - Quality Score: 7/10
- Replies (1): post_02991
π·οΈ Tags
pie-menu scripting intermediate unsolved
βοΈ Related PME Features
- Pie Menu Editor
- Python Scripting
π¬ 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_problem011572Γ879 157 KB