v1.0
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.
DeactivateElements( [SelectionList] ); |
Parameter | Type | Description |
---|---|---|
SelectionList | String |
List of 3D objects to deactivate. Default Value: Current selection |
' 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." |