VS:ws2GetToolAt

From Vectorworks Developer
Revision as of 15:48, 16 September 2020 by Unknown user
(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

Workspace advanced APIs. Return the tool univ name at the specified index of the parent tool or tool set at the specified path. See 'ws2GetToolsCnt'.

FUNCTION ws2GetToolAt(
toolPath :DYNARRAY[] of CHAR;
index :INTEGER) : DYNARRAY[] of CHAR;
def vs.ws2GetToolAt(toolPath, index):
    return DYNARRAY[] of CHAR

Parameters

toolPath DYNARRAY[] of CHAR
index INTEGER

Version

Availability: from Vectorworks 2021