VS:SetToolByName

From Vectorworks Developer
Revision as of 14:19, 29 October 2008 by Root (talk | contribs)
(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

Similar to VS:SetTool, but takes name rather than ID. Supports plug-in tools (but not yet internal tools).

FUNCTION SetToolByName(
toolName  : STRING) : BOOLEAN;
def vs.SetToolByName(toolName):
    return BOOLEAN

Parameters

toolName STRING

Version

Availability: from All Versions

This is drop-in function.

See Also

VS:CallTool, VS:CallToolByName

[[VS:CallTool]], [[VS:CallToolByName]]