Jump to content

Change text within a symbol on a Sheet layers without opening the file


Recommended Posts

Hello, 

 

I have about 100 files within a folder which needs to be edit. I need to replace a certain text within all the files. I have been able to figure out that only sheet layer, a certain symbol (symbol name is same in all files) and the text within this symbol needs to be replaced. I don't want to change any of the other text as it is different across each file. What would be the best way to edit the files without opening? I tried using Chatgpt for the Python script. Unfortunately the only script I found needs to be run for each file after opening it which I don't want to do. 

 

Please help. I have started the process of manually converting it but this script would save me hours.

 

I need a script to find the text RIBA Stage 4 and replace it with RIBA Stage 4b for all the .vwx files within the folder RIBA Stage 4b.

Link to comment

Scripts in VW are only able to operate on objects in open files, so you will have to open every file.

 

Since you are on Mac, it would be possible to create an AppleScript that would open the file, run the script and then save the file. Long ago I did this to export DWG (DXF?) files from a series of VW files.

 

The only other (really bad) option would be to try and edit the binary VW files to try and make the change. This is unlikely to be successful.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...