ClusterCollection

Introduced

1.0

Description

A collection of Cluster objects. The ClusterCollection is accessed from the Clusters property of the Geometry object.

This collection is 0-based.

Methods

ClusterCollection.Filter | ClusterCollection.Find | ClusterCollection.GetAsText

Properties

ClusterCollection.Count | ClusterCollection.Item

Examples

VBScript Example

    set oRoot = Application.ActiveProject.ActiveScene.Root
    set oObj = oRoot.AddGeometry( "Cube", "MeshSurface" )
    set oCluster = oObj.ActivePrimitive.Geometry.AddCluster(siVertexCluster)
    set oCluster2 = oObj.ActivePrimitive.Geometry.AddCluster(siPolygonCluster)
    set oGeometry = oObj.ActivePrimitive.Geometry
    for each oCls in oGeometry.Clusters
        LogMessage oCls.FullName & " has " & oCls.Elements.Count & " elements"
    next

See Also

Geometry.Clusters | X3DObject.ShapeAnimatedClusters

Autodesk Softimage v7.5