Post #314: ![](https://blenderartists.org/user_avatar/blenderartists.org/rhyging5/48/725092

📋 Metadata

🏷️ Tags

pie-menu hotkeys intermediate solved

  • Pie Menu Editor
  • Custom tab
  • Python Scripting

💬 Content

rhyging5:

hi roaoao, I’m seeking for the property of the spline point’s tilt. Is not suposed to be:

C.object.data.splines.bezier_points.tilt ?

but is not working…

Looks like there is no path for the active spline point. You have to find it. Try this code in Custom tab:

spline = C.object.data.splines.active; sel_points = [p for p in spline.bezier_points if p.select_control_point]; L.prop(sel_points[0], "tilt") if len(sel_points) > 0 else None

🔗 View on Blender Artists