VS:SetToolWithMode

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

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

Parameters

toolIndex INTEGER Vectorworks tool constant.
modeGroup LONGINT Index of the mode group.
modeButton LONGINT Index of the button in the group.

Version

Availability: from Vectorworks 2016