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| Name | Type | Description |
|---|---|---|
| toolPath | DYNARRAY[] of CHAR | |
| univName | DYNARRAY[] of CHAR | |
| displayName | DYNARRAY[] of CHAR | |
| iconFullFilePath | DYNARRAY[] of CHAR |
Starting with Vectorworks 2024 .svg icons are required are required in order to support Dark Mode. Icon.svg
Icon_dark.svg
Availability: from Vectorworks 2021