SegmentCollection.SubComponent operator

Introduced

v3.0

Description

Creates a SubComponent from this collection of Segments.

Examples

VBScript Example

set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oSegment  = oCube.ActivePrimitive.Geometry.Segments(2)
set oSubComponent = oSegment.SubComponent
oSubComponent.AddElement 3
SelectObj oSubComponent