Post #2991:
el
📋 Metadata
- Author: roaoao
- Date: 2020-01-25 14:23:32
- Type:
answer - Quality Score: 8/10
- Reply to: post_02989
- Replies (1): post_02992
🏷️ Tags
python-scripting beginner solved
⚙️ Related PME Features
- Python Scripting
- Macro Editor
💬 Content
eltarbos:
I want to be able to change some parameters of the active spline like cyclic or smooth values.
How can I change this to affect the active spline instead of the spline[0].C.object.data.splines[0].use_smooth
Try this instead:
C.object.data.splines.active.use_smooth
❤️ 2 likes