Use Selection.Clear or 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()
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License