Remove (Selection)
Description
Removes a single object from the selection.
Scripting Syntax
Selection.Remove( Object, SelectionMode )
C# Syntax
Selection.Remove( Object in_pObj, siSelectMode in_selType );Parameters
|
Parameter |
Type |
Description |
|
Object |
Object to remove from selection |
|
|
SelectionMode |
Specifies how the object is selected in hierarchy. Default Value: siSelectDefault |
Examples
VBScript Example
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"
See Also
Autodesk Softimage v7.5