Description
Set or get the selected state.
-
Property type
-
A Boolean value.
-
Syntax
-
object.Selected [= value]
The Selected Property syntax has these parts: |
| object | An expression evaluating to an object of type McGraphObj. | | value | A Boolean value. | Remarks
If set to True, the object will be selected, and will display its handles. This will not affect the state of other previously selected objects; use McGraphOverlay.Select or McGraphOverlay.Deselect to change the selection of all objects.
Notes
On assignment, the ObjectSelected or ObjectDeselected notification is always sent with the Overlay.NotifyContext property's mcgoncFromTool bit off. If you want to signal to nofify sinks that the Select assignment is from a user interface element (e.g., a tool), then assign mcgoncFromUser to the Overlay.NotifyContext property just before assigning to the Select property.
|