Activates the specified Vectorworks tool for use with specified tool mode. The tool remains selected as the active tool after use.
PROCEDURE SetToolWithMode(
toolIndex : INTEGER;
modeGroup : LONGINT;
modeButton : LONGINT);def vs.SetToolWithMode(toolIndex, modeGroup, modeButton):
return None| Name | Type | Description |
|---|---|---|
| toolIndex | INTEGER | Vectorworks tool constant. |
| modeGroup | LONGINT | Index of the mode group. |
| modeButton | LONGINT | Index of the button in the group. |
SetToolWithMode(1, 2, 3);import vs
# Activates the specified Vectorworks tool for use with specified tool mode.
toolIndex = 1
modeGroup = 0
modeButton = 0
vs.SetToolWithMode(toolIndex, modeGroup, modeButton)Availability: from Vectorworks 2016