DomC Posted January 2, 2017 Share Posted January 2, 2017 (edited) The attached Marionette example shows, how to renames resources from the active document. It contains several custom nodes: 1. "TypePopup" : An Input Node, which translate a readable popup (Line, Rectangle, ImageFill etc. ) in the internal used index number (VectorScript appendix) 2. "GetRes" : This Nodes, collects the specified resource type from the active document. 3. "ReplaceString" : This node, replace any part of a string (text) input with a new string This example could be used for sorting and organize mass of ressources. - Find/Replace Text (or Characters) in the resourceName - add prefix or suffix to the name (As example .sym to symbols to clear names or prefix with the building number etc.) - produce an index number to a name for sorting - etc. RenameResources.mp4 RenameResouces.vwx Edited January 2, 2017 by DomC 1 Quote Link to comment
Vectorworks, Inc Employee Stephan Moenninghoff Posted January 12, 2017 Vectorworks, Inc Employee Share Posted January 12, 2017 Thanks, @DomC. This is very useful. Quote Link to comment
Niels Timmer Posted June 25, 2019 Share Posted June 25, 2019 Nice, it still works in 2019. Saved me a lot of time! Quote Link to comment
Andy Broomell Posted August 6, 2019 Share Posted August 6, 2019 Very cool. Is there a way to turn this into a menu command with a pop-up that asks for Type, Prefix, Suffix, and Find/Replace? I've yet to have any luck with the Convert to Menu Command option for Marionette networks, but I also know very little about Marionette... 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.