AddEmptyCluster (Geometry)

Description

Creates and adds an empty cluster to Geometry object.

Scripting Syntax

Geometry.AddEmptyCluster( Type, [Name] )

C# Syntax

Cluster Geometry.AddEmptyCluster( String in_Type, String in_name );

Parameters

Parameter

Type

Description

Type

ClusterTypes

cluster type

Name

String

cluster name. When non-specified, the name will be the cluster type.

Return Value

Cluster

Examples

VBScript Example

set oGrid = Application.ActiveProject.ActiveScene.Root.AddGeometry("Grid","MeshSurface")
set oCluster = oGrid.ActivePrimitive.Geometry.AddEmptyCluster(  siPolygonCluster ) 
set oCluster2 = oGrid.ActivePrimitive.Geometry.AddEmptyCluster(  siEdgeCluster, "MyCluster" ) 


Autodesk Softimage v7.5