Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 926 Bytes

File metadata and controls

44 lines (35 loc) · 926 Bytes

SetToolWithMode

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

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

Examples

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)

Version

Availability: from Vectorworks 2016

Category