Geometry.Points operator

Description

Returns a PointCollection containing every Point object for this object.

C# Syntax

// get accessor
PointCollection rtn = Geometry.Points;

Examples

VBScript Example

set oRoot = Application.ActiveProject.ActiveScene.Root
set oObj = oRoot.AddGeometry( "Cube", "MeshSurface" )
set oGeometry = oObj.ActivePrimitive.Geometry
for i=0 to oGeometry.Points.Count - 1
	set oPos = oGeometry.Points(i).Position
	Application.LogMessage oPos.x & "," & oPos.y & "," & oPos.z
next

See Also

Point Geometry.Segments Geometry.Facets Geometry