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 |
cluster type |
|
|
Name |
cluster name. When non-specified, the name will be the cluster type. |
Return Value
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