VWLP Posted October 3, 2012 Share Posted October 3, 2012 (edited) Hello, I am looking to create a script in Vectorworks to replace text throughout my entire document. For example, I may want to replace the phrase "verify in field" with "VIF". Note that this would need to be case sensitive. I am a novice to scripts and could not find anything similar in the VW script library that I could even modify. I would also appreciate any helpful reference books or website suggestions to learn scripting in Vectorworks. Thank you. Edited October 3, 2012 by VWLP Quote Link to comment
JBenghiat Posted October 4, 2012 Share Posted October 4, 2012 I know this doesn't answer your question per se, but there is a find and replace command in the text menu. -Josh Quote Link to comment
VWLP Posted October 4, 2012 Author Share Posted October 4, 2012 Thanks, Josh. I have been using the find and replace command, but we have hundreds of drawings that need to be updated. Hopefully there is a script that can be developed integrating this command. I found an earlier discussion here about a script for replacing characters, but am not adept enough yet to alter it for replacing words. http://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=166854 Quote Link to comment
maarten. Posted October 5, 2012 Share Posted October 5, 2012 Orso wrote a function to find/replace text. You can find it on vectorlab: http://www.vectorlab.info/index.php?title=Txt-Search_replace 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.