Facet.Index operator

Description

Returns the index of the facet in the Geometry's FacetCollection as an Integer.

C# Syntax

// get accessor
Int32 rtn = Facet.Index;

Examples

VBScript Example

set oRoot = application.activeproject.activescene.root
set oObj = oRoot.addgeometry( "Cube", "MeshSurface" )
set oGeometry = oObj.activeprimitive.geometry
for each oFacet in oGeometry.Facets
	LogMessage "Geometry.Facet.Index = " & oFacet.Index
next

See Also

Geometry.Facets