Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 869 Bytes

File metadata and controls

39 lines (31 loc) · 869 Bytes

CallToolByIndex

Description

Similar to CallTool. Takes the internal ID of a tool (Script Appendix)

FUNCTION CallToolByIndex(toolIndex : INTEGER): BOOLEAN;
def vs.CallToolByIndex(toolIndex):
    return BOOLEAN

Parameters

Name Type Description
toolIndex INTEGER

Examples

VectorScript

Message( CallToolByIndex( -221 ) ) { activate locus tool, returns true if successful }

Python

vs.Message( vs.CallToolByIndex( -221 ) ) # activate locus tool, returns true if successful

See Also

VS Functions:

Version

Availability: from Vectorworks 2014

Category