Geometry.Clusters
 
 
 

Geometry.Clusters

Description

Returns a ClusterCollection containing each Cluster defined on the geometry.

C# Syntax

// get accessor
ClusterCollection rtn = Geometry.Clusters;

Examples

VBScript Example

set oRoot = Application.ActiveProject.ActiveScene.Root
set oObj = oRoot.AddGeometry( "Cube", "MeshSurface" )
set oGeometry = oObj.ActivePrimitive.Geometry
set oClusters = oGeometry.Clusters
for each oCluster in oClusters
        Application.LogMessage oCluster.Type
next