The SelectedSetCommand transaction performs the specified action on the selected objects in the specified document window. Unless set to 1 (Select) or 2 (Select All), this transaction fails if no objects are selected. Select (1) and Select All (2) fail if the edit layer is empty (contains no objects), or if the document contains no active edit layers.
Type XTYP_EXECUTE
Syntax [SelectedSetCommand(docwinID, action)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
action |
WORD |
1 |
activates the Select tool |
|
|
|
2 |
selects all objects |
|
|
|
3 |
deselects all selected objects |
|
|
|
4 |
activates the Move/Resize command |
|
|
|
5 |
activates the Rotate command |
|
|
|
6 |
deletes all selected objects |
|
|
|
7 |
opens the Save Symbol As dialog box |
|
|
|
8 |
binds all selected objects |
|
|
|
9 |
unbinds the selected bound objects |
|
|
|
10 |
opens a text dialog box, displaying existing text. Fails unless a single text, annotation, or dimension object is selected. |
|
|
|
11 |
converts the selected objects into a hotspot. Fails if an annotation is selected. |
|
|
|
12 |
opens the Change Attributes dialog box |
|
|
|
13 |
opens the Hotspot Data dialog box, containing existing data. Fails unless a single hotspot object is selected. |
|
|
|
14 |
brings the selected objects in front of the other objects |
|
|
|
15 |
sends the selected objects behind the other objects |
Remarks
Only actions relating to commands available in your edition of Imagenation can be selected.
Release information
Added in Release 3.60.
Modified in Release 5.10: Values 14 and 15 added.
See also