michaelk Posted February 8, 2013 Share Posted February 8, 2013 This is a script that mimics the behavior of Spotlight's "Replace With Active Instrument" button in the OIP of a Spotlight Instrument, but works on any symbol with attached data. It replaces the selected symbol in the drawing with the active symbol in the RB and keeps all the data of records attached to the symbols (should work for multiple record formats) unless the name of the field starts with a tilde "~". Fields starting with ~ will use the default data of the incoming symbol. I'll attach a file so it's clear how it works. Pick a symbol in the drawing and use the "replace" button on the OIP to replace it with a different symbol. Recalculate the worksheet. All the data goes to the default data of the incoming symbol. i.e. you need to reinter the room, plate #, engraving, etc. Select a different symbol in the drawing. Make another symbol active in the RB. Run the script. Recalculate the worksheet. The data in the red cells is always the default data of the incoming symbol. The rest of the data uses the values from the outgoing symbol. mk SuperReplace_2013.vwx Quote Link to comment
DianaK Posted May 12, 2018 Share Posted May 12, 2018 Love for this attachment to be reattached in this new forum if possible, please. Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted May 14, 2018 Vectorworks, Inc Employee Share Posted May 14, 2018 Attached below: SuperReplace_2013.vwx 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.