Jump to content

S.Daita

Member
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About S.Daita

  • Rank
    Greenhorn

Personal Information

  • Location
    Japan

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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.
  2. Thank you again. We will try using the new ws2 functions on Vw2021 .
  3. Thank you for your message . I rephrase my question . I want to know how to add some menus and tools to existing workspaces using the VS script . I saw new functions about Workspaces on site : /developer.vectorworks.net/index.php/VS:Vectorworks_2021_New_Functions If we want edit a workspace, we have to use the new functions ? Are there any sample script or hint somewhere ? Initially, I think we would like to do add our menu to all workspaces . I think so when I saw the EnableDebugMenu command can changes (add and hide) all workspaces . Thank you . (A&A Japan)
  4. On Vw2021, when we run EnableDebugMenu(True); or EnableDebugMenu(False); , then "Debug" Menu turn on or off on the Menu bar of Workspaces. In this way, can we control our Workspaces by script ?

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...