NumSelected
(Engine-Level Function)
Description: | Returns the number of selected graphics statements in a window. |
Returns: | Numeric |
Usage: | Script or steady state. |
Function Groups: | Graphics |
Related to: | SelectGraphic | UnselectGraphics | UnselectObject |
Format: | NumSelected(Object) |
Parameters: |
Object |
Required. Any expression for the object that defines the window. |
Example:
selGraphic = NumSelected(CurrentWindow());
This will set selGraphic to the number of currently selected objects in the window that the mouse is presently over.