ScriptSpot home
Sign in

Script

Condense by Material

By Alo Alvarez · 2014-11-10

Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.
Version
1.25
3ds Max compatibility
Unknown
How compatibility works

Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.

Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.

Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.

Original version requirement
Max 2012-14
Date updated
2014-11-16
Legacy votes
2
External download
External download
Downloads

Tags: attach objects by material condense rename optimize geometry

Description

This script condense objects with the same material, convert them into Editable Meshes, optimize the geometry and rename it as its material. If you select a large number of objects (+5k) it can take some time but it is crash-proof (so far). Specially useful in case you import architectural files from .3ds or other format and the file contains Material information. At the end you will have the same number of objects as the materials you had (e.g. Brick, Glass, Frames, Wood, etc.) Enjoy :)

v1.25 -Objects without material now receive a "Default_Material".

            -Fix crash when applied to only to cameras or lights.

            -Optimized code for faster results.

 

 

Additional Info

Installation: Go to “MaxScript” menu and select “Run script”. Select the file and click “Open”. Then go to “Customize” menu, and select “Customize user interface”. In the new window, select tab “Toolbars”, in “Category” select "Tools”. There you will find "Convert by Material". Now you can drag and drop it in the toolbar. Save changes before closing the "Customize User interface" window. Enjoy :)

More by Alo Alvarez

View all contributions
Comments (1)

e_samurai · 2014-11-28

very useful script. Thanks! Can you make a script that condenses the Multimaterial by using texture names please? That would be GREAT