Point.Position
 
 
 

Point.Position operator

Description

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.

C# Syntax

// get accessor
Object rtn = Point.Position;

Examples

VBScript Example

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