VS:ws2CreateToolSet

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. Create a new tool set if it doesn't exist. Retina icon will be loaded automatically if it has the same name suffixed with @2x.png and resolution 26 by 20 pixels.

FUNCTION ws2CreateToolSet(
toolPath :DYNARRAY[] of CHAR;
univName :DYNARRAY[] of CHAR;
displayName :DYNARRAY[] of CHAR;
iconFullFilePath :DYNARRAY[] of CHAR) : BOOLEAN;
def vs.ws2CreateToolSet(toolPath, univName, displayName, iconFullFilePath):
    return BOOLEAN

Parameters

toolPath DYNARRAY[] of CHAR
univName DYNARRAY[] of CHAR
displayName DYNARRAY[] of CHAR
iconFullFilePath DYNARRAY[] of CHAR

Version

Availability: from Vectorworks 2021