Sample.SubComponent operator

Introduced

v3.0

Description

Creates a SubComponent from the Sample object.

Examples

VBScript Example

set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oFacet  = oCube.ActivePrimitive.Geometry.Facets(2)
set oSubComponent = oFacet.Samples(0).SubComponent
SelectObj oSubComponent