v3.0
Creates a SubComponent from the Sample object.
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface") set oFacet = oCube.ActivePrimitive.Geometry.Facets(2) set oSubComponent = oFacet.Samples(0).SubComponent SelectObj oSubComponent