VS:ws2CreateToolSet

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.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