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