- February 15, 2021 at 13:10 #31236Troy PearseParticipantPosts: 4Threads: 5Joined: Jan 2016
Hi,
We would like to automate some of our library renaming and relinking tasks so that its easier.
Do you provide maxscript access to the mass-rename tool and the copy relink tools?
Thanks Troy
Plugin version: 3.13.55
3ds Max version: 2020
Renderer: Corona - February 15, 2021 at 13:13 #31239Oleksandr KramerModeratorPosts: 257Threads: 1133Joined: Aug 2009
Hello
You can find all API features here
https://3d-kstudio.com/faq-cat/maxscript-api/
Batch relink has API
Mass-rename tool doesn’t have API - February 15, 2021 at 13:15 #31240Troy PearseParticipantPosts: 4Threads: 5Joined: Jan 2016
Thanks for your great support.
- February 15, 2021 at 13:25 #31241Oleksandr KramerModeratorPosts: 257Threads: 1133Joined: Aug 2009
Glad to be helpful.
What exactly do you want to do using API?
- February 15, 2021 at 13:48 #31242Troy PearseParticipantPosts: 4Threads: 5Joined: Jan 2016
Hi,
To automate the saving of assets purchased from online shops to our library.
The user enters in the name of the library object, and what folder to save it to.
The script checks to see if the name is unique in the library then renames the objects assets and copies and repaths them to the correct spot in the library. It also renames the objects and materials in the scene to the new name.
Thanks
Troy
- February 15, 2021 at 14:49 #31243Oleksandr KramerModeratorPosts: 257Threads: 1133Joined: Aug 2009
Of course, I don’t know all details, but I would do it like this:
1) move the model to the related location to the disk. Also, you can keep new models in their original location, but assign related categories to models
2) Copy used assets using the batch-relink tool ( it allows auto-rename assets with duplicated names. Also you can store used assets to the subfolders with model name )So maybe this possible without additional coding.
- February 16, 2021 at 04:59 #31248Troy PearseParticipantPosts: 4Threads: 5Joined: Jan 2016
Thanks Alex,
Great idea.
You must be logged in to reply to this topic.