Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

 

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:

spline = scene.getSpline("Spline01")
controlPoints = spline.getNumberOfControlPoints()
 
for i in range(0, controlPoints):
	pointPosition = spline.getControlPointPosition(i)
	scene.message(str(pointPosition))
  • No labels