Guest unlimited Posted February 24, 2017 Share Posted February 24, 2017 Hi all, Does anyone know of a Marionette that would allow the batch adding of a Suffix ( or prefix) to a set of resources. EG. I have a bunch of images and want to give them the suffix IF. Then I can create the same images as textures and then give the texture names the suffix TX. Many thanks, Martyn Quote Link to comment
Marionette Maven Marissa Farrell Posted February 24, 2017 Marionette Maven Share Posted February 24, 2017 Hi Martyn, Here's a preliminary script that may help. There are a handful of custom nodes in here. What this script does: - queries the active document for image resources (the ones that appear in the RM) - makes a duplicate of the image resource and names it based on its original name and an added suffix Notes: If run more than once, many resources may be created. It is also possible to just rename the original resource rather than making the duplicate by removing the copy node. I would recommend saving a copy of whatever file you use this on as a backup in case unexpected results arise. renameImageRes_MFarrell.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.