Jump to content

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
Link to comment
  • 2 weeks later...
  • 2 years later...
  • 1 month later...

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...