Returns a SegmentCollection of every Segment object for this geometry. A polygon mesh segment is an Edge object.
// get accessor SegmentCollection rtn = Geometry.Segments; |
set oRoot = Application.ActiveProject.ActiveScene.Root set oObj = oRoot.AddGeometry( "Cube", "MeshSurface" ) set oGeometry = oObj.ActivePrimitive.Geometry set oSegments = oGeometry.Segments |