VS:SetToolByName
From Vectorworks Developer
.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