VS:SetToolByName

From Vectorworks Developer
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Similar to 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 Vectorworks 2014