Hello.
We looked https://developer.vectorworks.net/index.php/VS:ws2GetMenusCnt
and others .
We tried using them On Vw2021, but could not .
Is there anyone who know how to use these functions
or who have any samples about them ?
DYNARRAY[] of CHAR:=ws2GetMenuAt(menuPath,index);
DYNARRAY[] of CHAR:=ws2GetToolAt(toolPath,index);
int:=ws2GetMenusCnt(menuPath);
int:=ws2GetToolsCnt(toolPath);
int:=ws2FindMenuIndex(menuPath,findMenuUnivName);
boo:=ws2AddMenuGroup(menuPath,newUnivName,newDisplayName,beforeIndex);
boo:=ws2AddMenuItem(menuPath,newMenuUnivName,beforeIndex);
int:=ws2FindToolIndex(toolPath,findUnivName);
boo:=ws2CreateTool(toolPath,univName,resourceID);
boo:=ws2CreateToolPalette(univName,displayName);
boo:=ws2CreateToolSet(toolPath,univName,displayName,iconFullFilePath);
Thanks.