📋 Metadata
- Author: roaoao
- Date: 2016-09-15 09:30:41
- Type:
answer - Reply to: post_00313
- Replies (1): post_00315
💬 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