Deselecting Everything (Clearing the Selection)
- Use Selection.Clear:
// C++ API
Selection sel( Application().GetSelection() );
sel.Clear();
// C#
CXSIApplication app = new CXSIApplication();
Selection sel = app.Selection;
sel.Clear();
// JScript
Selection.Clear();
' VBScript
Selection.Clear
# Python
Application.Selection.Clear()
# Perl
$Application->Selection->Clear();
Related Scripting Commands
• ShrinkSelection, InvertSelection
• DeactivateElements, ToggleActiveElements, SetAndToggleActiveElements
Autodesk Softimage v7.5