Gumnut
@gumnut
New Member
Joined: Feb 15, 2024
Topics: 25 / Replies: 49
Reply
RE: How do you remove all unused materials from the scene in Max 2015 (by script)?

In the file I am working in (with about 25 that shouldn’t be there), the above code does nothing. If I restart or reset max and create a new file, you…

9 years ago
Forum
Reply
RE: How do you remove all unused materials from the scene in Max 2015 (by script)?

Denis, as I said before I already tried doing gc() and saving and re-opening. I have now tried all the code on the page you linked above also and none…

9 years ago
Forum
Reply
RE: How do you remove all unused materials from the scene in Max 2015 (by script)?

I have 100 planes with 100 images on them as the materials. When I delete the planes I want to also make sure all the images are completely gone from …

9 years ago
Forum
Reply
RE: How do you remove all unused materials from the scene in Max 2015 (by script)?

Sorry Denis I’m not sure what you mean. If I save it (or even save and reopen) the materials are all still there when I use the “get all scene materia…

9 years ago
Forum
Topic
Reply
RE: Easiest way to put images on to buttons?

denisT: if we talk about mxs rollout button there can’t be anything clearer than what the mxs help says. just search fo ‘image buttons’ it’s clear, …

9 years ago
Forum
Reply
RE: Easiest way to put images on to buttons?

Just a regular .MS UI button. I have separated the button images (and know how to place the background in the UI), but need to know how to get the but…

9 years ago
Forum
Topic
Forum
Replies: 5
Views: 23
Reply
RE: How can I find whether a particular word exists within a string in an array slot?

Hey… The strings in the slots won’t ever be just 1 word. They will be sentences and the code will have to find the word within the sentence in that sl…

9 years ago
Forum
Reply
RE: How do you remove all scaling on an object (with code)?

Malkalypse: Fill a kettle with equal parts vinegar and water. Boil, then turn off the burner and let the kettle sit overnight. Rinse it out the ne…

9 years ago
Forum
Reply
Page 2 / 5