VS:SetTool: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
mNo edit summary |
||
Line 41: | Line 41: | ||
==== Python ==== | ==== Python ==== | ||
<code lang="py"> | <code lang="py"> | ||
vs.SetTool(-241) | |||
</code> | </code> | ||
</sample> | </sample> |
Latest revision as of 21:24, 7 October 2015
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Activates the specified VectorWorks tool for use. The tool remains selected as the active tool after use.
Note: Please refer to the VectorScript Appendix for specific tool ID values.
PROCEDURE SetTool(
theTool :INTEGER);
def vs.SetTool(theTool): return None
Parameters
theTool INTEGER VectorWorks tool constant.
Example
VectorScript
SetTool(-203);
Python
vs.SetTool(-241)
Version
Availability: from All Versions
See Also
VS Functions:
VS Functions:
[[VS:CallTool]]