VS:vstEnableMode

From Vectorworks Developer
Revision as of 14:49, 12 August 2013 by Root (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Description

Enables or disables the specified mode. Modes are numbered starting from 1 in the order they were added into the mode bar. Passing enable as false disables the mode; true enables it.

PROCEDURE vstEnableMode(
inModeNumber :INTEGER;
inEnable :BOOLEAN);
def vs.vstEnableMode(inModeNumber, inEnable):
    return None

Parameters

inModeNumber INTEGER
inEnable BOOLEAN

Version

Availability: from All Versions

This is drop-in function.