/
Looping - Spline Control Points
Looping - Spline Control Points
Add this script to a "Batch Script" editor (F10) and execute it with Script > Run.
Get the number of control points from "Spline01" and the points' positions. Print the positions to the "Messages" panel:
# Get "Spline01" and its number of control points spline = scene.getSpline("Spline01") controlPoints = spline.getNumberOfControlPoints() # Loop through the control points and print out their positions for i in range(0, controlPoints): pointPosition = spline.getControlPointPosition(i) scene.message(str(pointPosition))
, multiple selections available,
Related content
Binding Daemons to Splines
Binding Daemons to Splines
More like this
SP - Display Spline
SP - Display Spline
More like this
Splines - Display
Splines - Display
More like this
Splines - Display
Splines - Display
More like this
SPH - Display Spline
SPH - Display Spline
More like this
Daemons - Display Spline
Daemons - Display Spline
More like this