VS:ws2CreateToolSet: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
No edit summary
 
m (1 revision)
 
(No difference)

Latest revision as of 15:48, 16 September 2020

.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