SubComponent.Type

Description

Returns a String containing the cluster type suffixed by "SubComponent" (for example, "pntSubComponent" for a Point).

C# Syntax

// get accessor

String rtn = SubComponent.Type;

Examples

VBScript Example

set oObject = Application.ActiveSceneRoot.AddGeometry("Cube","MeshSurface","MyCube")

set oSubComponent = oObject.ActivePrimitive.Geometry.CreateSubComponent(siVertexCluster, Array(3,4,5))

Application.LogMessage oSubComponent.Type

' Expected result:

'INFO : pntSubComponent