Jump to content
Sign in to follow this  

Renaming Resources

Recommended Posts

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.







Edited by DomC
  • Like 1

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.