Post #314: : post_00315
🏷️ Tags
pie-menu hotkeys intermediate solved
⚙️ Related PME Features
- 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