Chaos Corona Forum

General Category => General CG Discussion => Topic started by: Monkeybrother on 2017-05-15, 10:55:47

Title: Tool to batch edit max materials/libraries?
Post by: Monkeybrother on 2017-05-15, 10:55:47
Hi. I've been slowly building a set of materials for Corona, but every now and then I need to make mass changes to several materials or entire libraries and doing it inside max is very time consuming.

Does anyone know of any scripts or external tools that can mass rename/change id's/move/change texture path etc on materials and/or libraries? Prefereably free, or cheap. Thanks.
Title: Re: Tool to batch edit max materials/libraries?
Post by: SHORT CUTS on 2017-05-15, 11:26:30
try scriptspot, they have lots of helpful scripts, this one for example: http://www.scriptspot.com/3ds-max/scripts/library-track-relink
Title: Re: Tool to batch edit max materials/libraries?
Post by: Monkeybrother on 2017-05-15, 11:59:52
try scriptspot, they have lots of helpful scripts, this one for example: http://www.scriptspot.com/3ds-max/scripts/library-track-relink

I've looked on scriptspot and the only one that seems to do what I need is old and the link is dead. The script you linked to looks good for other purposes, but not really what I was looking for (a simple material/material library manager).
Title: Re: Tool to batch edit max materials/libraries?
Post by: Eder_Xavier on 2017-05-15, 13:46:06
Hi. I've been slowly building a set of materials for Corona, but every now and then I need to make mass changes to several materials or entire libraries and doing it inside max is very time consuming.

Does anyone know of any scripts or external tools that can mass rename/change id's/move/change texture path etc on materials and/or libraries? Prefereably free, or cheap. Thanks.

take a look at this
https://3d-kstudio.com/product/project-manager/
Title: Re: Tool to batch edit max materials/libraries?
Post by: Monkeybrother on 2017-05-15, 14:07:54
take a look at this
https://3d-kstudio.com/product/project-manager/

Thank, still not what I need though. I need a simple material library editor that can batch edit name/id/maybe properties of materials in a library.
Title: Re: Tool to batch edit max materials/libraries?
Post by: James Vella on 2017-05-17, 05:44:58
http://www.scriptspot.com/3ds-max/scripts/library-track-relink

Pixamoon has a bunch of plugins for management, this is great for asset renaming (we use it to rename all assets linked such as calistemon_fire_01.jpg , 02.jpg, 03.jpg etc)
Title: Re: Tool to batch edit max materials/libraries?
Post by: SHORT CUTS on 2017-05-17, 10:44:32
http://www.scriptspot.com/3ds-max/scripts/library-track-relink

Pixamoon has a bunch of plugins for management, this is great for asset renaming (we use it to rename all assets linked such as calistemon_fire_01.jpg , 02.jpg, 03.jpg etc)

Same script i posted above, unfortunatly not the tool he is looking for but i agree with you, its a great free script for asset renaming and mangement.
Title: Re: Tool to batch edit max materials/libraries?
Post by: 3dwannab on 2017-05-31, 16:55:18
I've wrote a simple script to build teapots to place all the materials inside a .mat file in a scene for this very reason. You can browse for a directory and it loads all found mats inside the sub-directories also. Once they load, double click the mat to create a scene with the arbitrary teaports.
Get it here: http://www.scriptspot.com/3ds-max/scripts/materials-to-scene (http://www.scriptspot.com/3ds-max/scripts/materials-to-scene) .


From here you can then edit en masse with the modifier zorb script which I use.
Edits almost everything in the scene.
http://www.scriptspot.com/3ds-max/scripts/modifier-modifier-zorb (http://www.scriptspot.com/3ds-max/scripts/modifier-modifier-zorb) 


Or you can try:
http://www.scriptspot.com/3ds-max/scripts/batch-material-editor (http://www.scriptspot.com/3ds-max/scripts/batch-material-editor)


Then save the scene materials to the original .mat file. Which is a built in max function. In SME looks for the material map broswer and right click on the scene materials tab to get the option.