Similar to CallTool. Takes the internal ID of a tool ([[VS:Function_Reference_Appendix#settool| Appendix]] )
FUNCTION CallToolByIndex(toolIndex : INTEGER): BOOLEAN;def vs.CallToolByIndex(toolIndex):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| toolIndex | INTEGER |
==== Vectorscript ====
Message( CallToolByIndex( -221 ) ) { activate locus tool, returns true if successful }==== Python ====
vs.Message( vs.CallToolByIndex( -221 ) ) # activate locus tool, returns true if successfulVS Functions:
Availability: from Vectorworks 2014
- Utility