SegmentCollection.SubComponent operator

Introduced

v3.0

Description

Creates a SubComponent from this collection of Segments.

C# Syntax

// get accessor
SubComponent rtn = SegmentCollection.SubComponent;

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