SampleCollection.SubComponent
 
 
 

SampleCollection.SubComponent operator

Introduced

v2.5

Description

Creates a SubComponent from the Sample collection.

C# Syntax

// get accessor
SubComponent rtn = SampleCollection.SubComponent;

Examples

VBScript Example

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