I am not a max script specialist so please do not ask me why. I cannot answer it but here I will show some useful scripts and how it works. This script comes from MAXScript Help. You just need copy and paste it.
Remove all materials
When you get models from Sketchup, sometime (depend on models) you will get many different materials in the scene. If there are only 10 materials, it is easy to organize but if there are a couple hundred materials it is not so easy anymore. For times like that I use this script to clean up all materials in the scene/material editor.
Go to Help > MAXScript Help >How To – Practical Examples > Remove All Materials. Inside of MAXSCRIPT box, copy only this sentence;
$*.material = undefined
Then go to MAXScript > MAXScript Listener . Paste the sentence in this box then hit Enter. All materials should be gone in the scene/material editor. Now, you can organize your scene/ material easily.
No comments:
Post a Comment