Removes a single object from the selection.
Selection.Remove( Object in_pObj, siSelectMode in_selType ); |
Selection.Remove( Object, SelectionMode ); |
Parameter | Type | Description |
---|---|---|
Object | Object (ie., X3DObject, Camera, Light, etc.) | Object to remove from selection |
SelectionMode | siSelectMode | Specifies how the object is selected in hierarchy.
Default Value: siSelectDefault |
CreatePrim "Arc", "NurbsCurve" CreatePrim "Cube", "NurbsSurface" set cyl = CreatePrim( "Cylinder", "NurbsSurface" ) AddToSelection "arc,cube,cylinder", , True set sel = Application.Selection sel.Remove cyl, siSelectDefault for each i in sel logmessage i.name next 'Output of above script: 'INFO : "arc" 'INFO : "cube" |