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| Name | Type | Description |
|---|---|---|
| theTool | INTEGER | VectorWorks tool constant. |
==== VectorScript ====
SetTool(-203);==== Python ====
vs.SetTool(-241)VS Functions: CallTool
Availability: from All Versions
- Command