Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 713 Bytes

File metadata and controls

41 lines (31 loc) · 713 Bytes

SetTool

Description

Activates the specified VectorWorks tool for use. The tool remains selected as the active tool after use.

Note: Please refer to the [[VS:Function Reference Appendix#SetTool - CallTool Selectors|VectorScript Appendix]] for specific tool ID values.

PROCEDURE SetTool(theTool : INTEGER);
def vs.SetTool(theTool):
    return None

Parameters

Name Type Description
theTool INTEGER VectorWorks tool constant.

Examples

==== VectorScript ====

SetTool(-203);

==== Python ====

vs.SetTool(-241)

See Also

VS Functions: CallTool

Version

Availability: from All Versions

Category

  • Command