FacetCollection
 
 
 

FacetCollection

Related C++ Class: CFacetRefArray

Introduced

v1.5

Description

A collection of Facet objects. A PolygonMesh facet is a PolygonFace and NurbsSurfaceMesh facet is a NurbsSurface. The facet collection is accessed via the Geometry.Facets property of the Geometry object.

This collection is 0 based.

Methods

Navigate      
       

Properties

Count operator IndexArray operator NormalArray operator SubComponent operator

Examples

VBScript Example

set oRoot = ActiveProject.ActiveScene.Root
set oCube = oRoot.AddGeometry( "Cube", "MeshSurface" )
set oGeometry = oCube.ActivePrimitive.Geometry
set oFacets = oGeometry.Facets
LogMessage typename(oFacets)
for each oFacet in oFacets
        for each oSegment in oFacet.Segments 
                LogMessage "Facet.Segment.Index " & oSegment.Index 
        next
next

See Also

Geometry.Facets