Post #2991: el

📋 Metadata

🏷️ Tags

python-scripting beginner solved

  • 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


🔗 View on Blender Artists