ActivateElements

Introduced

v1.0

Description

Adds 3D objects to the list of active elements.

Active elements are the objects whose components (such as points, polygons, and edges) can be selected.

Active elements are highlighted with a special color (eg: yellow).

Note: If the SelectionList argument contains an error, the command fails.

Scripting Syntax

ActivateElements( [SelectionList] );

Parameters

Parameter Type Description
SelectionList String List of 3D objects to activate.

Default Value: Current selection

Examples

VBScript Example

' This example uses ActivateElements to make selection of components 

' (in this case points) possible on the cylinder called "cylinder".

NewScene

CreatePrim "Cylinder", "MeshSurface"

CreatePrim "Cylinder", "MeshSurface"

Translate , 3.48352677058841, 0.127331217177334, -1.27331217177334E-02, _

		siRelative, siView, siObj, siXYZ

SetSelFilter "point"

ActivateElements "cylinder"

logMessage "cylinder should now be highlighted in yellow"

logMessage "and ready to accept selection of points components"

See Also

DeactivateElements SetActiveElements SetAndToggleActiveElements ToggleActiveElements