Returns a copy of the position of a given point as a SIVector3.
Note: To actually change the positions of points on a geometry use
PointCollection.PositionArray.
// get accessor Object rtn = Point.Position; |
set oRoot = application.activeproject.activescene.root set oObj = oRoot.addgeometry( "Cube", "MeshSurface" ) set oGeometry = oObj.activeprimitive.geometry ' print the position of each point for each oPoint in oGeometry.Points logmessage oPoint.Position.x & _ ", " & oPoint.Position.y & _ ", " & oPoint.Position.z next |