VS:vstEnableMode

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

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.