VS:ws2GetToolsCnt

From Vectorworks Developer
Jump to navigation Jump to search

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

Description

Workspace advanced APIs. Return the number of tools at the specified path composed of universal names <tool palette>/<tool set>. See 'ws2GetMenusCnt'.

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

Parameters

toolPath DYNARRAY[] of CHAR

Version

Availability: from Vectorworks 2021