SthavyaK Posted November 6 Share Posted November 6 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. Quote Link to comment
Pat Stanford Posted November 6 Share Posted November 6 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. 1 Quote Link to comment
Recommended Posts
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.