Geometry.Segments operator

Description

Returns a SegmentCollection of every Segment object for this geometry. A polygon mesh segment is an Edge object.

C# Syntax

// get accessor

SegmentCollection rtn = Geometry.Segments;

Examples

VBScript Example

set oRoot = Application.ActiveProject.ActiveScene.Root

set oObj = oRoot.AddGeometry( "Cube", "MeshSurface" )

set oGeometry = oObj.ActivePrimitive.Geometry

set oSegments = oGeometry.Segments

See Also

Segment Geometry.Points Geometry.Facets Geometry