v3.0
Creates a SubComponent from the collection of Facets. This allows you to access the more collections that are more specific to the geometry type (PolygonFaceCollection and NurbsSurfaceCollection) via the SubComponent.ComponentCollection property.
set oObj = ActiveSceneRoot.AddGeometry("Cube","MeshSurface") set oSubComponent = oObj.ActivePrimitive.Geometry.Facets(1).SubComponent oSubComponent.AddElement 0 set oFacetCollection = oSubComponent.ComponentCollection set oFacetCollection2 = oFacetCollection.Navigate(siNextComponent) SelectObj oFacetCollection2.SubComponent |