VS:ws2CreateToolSet: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 46: | Line 46: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark></remark> | <remark> | ||
Starting with Vectorworks 2024 .svg icons are required are required in order to support Dark Mode. | |||
Icon.svg | |||
Icon@2X.svg | |||
Icon_dark.svg | |||
Icon_dark@2X.svg | |||
</remark> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
Latest revision as of 14:49, 3 September 2024
.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
Remarks
Starting with Vectorworks 2024 .svg icons are required are required in order to support Dark Mode.
Icon.svg
Icon@2X.svg
Icon_dark.svg
Icon_dark@2X.svg
Version
Availability: from Vectorworks 2021