Jump to content

NikitaA

Member
  • Posts

    4
  • Joined

  • Last visited

Reputation

0 Neutral

Personal Information

  • Location
    United States
  1. I am using scripting in Vectorworks to connect to the API of our MVC web application. I am currently running into an issue to parse through a 2D symbol. - I have a master library file where I create symbols. A sample can be found in Master Library_Testing.vwx file, please look within folder named "Demo" and symbol named "CST". There is a 2D symbol which has three 2D symbols inside it. The 2D symbol outside is on a different class and the three 2D symbols inside are on different classes but the outer layer is 2D symbol for all of them. - I create a working file after the master library and start using symbols. Example file named Working File_Testing copy.vwx. I use this approach because it is easy to maintain symbols separately and then use them in working files. Also, any change to a symbol in the master file flows to the working file automatically. Issue: I am unable to look at the three 2D symbols within a 2D symbol. Seems like Vectorworks shuts it down and I cannot parse through it. I know there is an outer layer "Group" but we cannot use it or we cannot change the 2D symbol to the outer layer Group because changing the symbol to Group looses the connection with the master library. Meaning, if I make changes to any of the 3 symbols or say add another symbol to it or say simply add a text, the change won't automatically flow to the working file. - I am looking for keeping the connection intact while keeping the outer layers as 2D symbols. Can somebody please help. There could be two solutions: 1) Suggestion on how to parse through a 2D symbol. 2) If there is no possibility to parse through a 2D symbol then can we use some other class/outer layer while keeping the connection with the master library intact. I cannot loose the functionality of any changes in master library flowing to the working file automatically. Working File_Testing copy.vwx Master Library_Testing.vwx
  2. NikitaA

    Vectorworks API

    Thank you. Will take a look at this.
  3. NikitaA

    Vectorworks API

    Does Vectorworks have an API? What I am trying to build is a connection between Visual Studio (API capability with MVC) and Vector works. The intent here is to be able to modify or swap symbol as a result of activity done in the web application. We are utilizing scripting capabilities within Vector works to swap symbols currently but is there a way for it for capture/catch information from a web application and modify/update symbol/s within the file. Note - Master library is attached as a third party plug-in and then there are individual drawing files linking under the resource manager.
  4. Hi everyone, I need some help in Python scripting. I have an image containing multiple 2D symbols and data tags. 2D symbols have 8 lines of text. I have a requirement where in, I have to replace (say line3 text) with a specific text in the image. Thereafter, search for all imges in resource manager library for that specific 2D symbol and replace the text in line3 with new text. Any idea as to how this can be accomplished? Thanks
×
×
  • Create New...