AddElement (SubComponent)

Description

Adds an element to the SubComponent using its index. All subelements can be added except isolines and isopoints (because those are not indexable subelements). That means that if you want to add a Vertex to a cluster of type siVertexCluster (from the ClusterTypes enum) you call AddElement with the index of the Vertex in the Geometry.

Scripting Syntax

SubComponent.AddElement( Element )

C# Syntax

SubComponent.AddElement( Object in_Elem );

Parameters

Parameter

Type

Description

Element

Variant

Index of the element that we want to add to the SubComponent element.

Examples

• See SubComponent.AddElement.1.vbs



Autodesk Softimage 2011