DeactivateElements
 
 
 

DeactivateElements

Introduced

v1.0

Description

Deactivates 3D objects.

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

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

Scripting Syntax

DeactivateElements( [SelectionList] );

Parameters

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

Default Value: Current selection

Examples

VBScript Example

' The following uses "DeactivateElements" so that selection of points 
' components is no longer possible on the object called "cylinder"
NewScene
CreatePrim "Cylinder", "MeshSurface"
CreatePrim "Cone", "MeshSurface"
Translate , 3.48352677058841, 0.127331217177334, -1.27331217177334E-02, _
                                        siRelative, siView, siObj, siXYZ
AddToSelection "cylinder"
SetSelFilter "point"
DeactivateElements "cylinder"
logMessage "cylinder should no longer be active"
logMessage "i.e.: selection of points components should no longer be possible on it."

See Also

ActivateElements SetActiveElements SetAndToggleActiveElements ToggleActiveElements