Anyone know of a script which will select all objects in a scene based on their multi sub object material ID? Selecting an object by material doesn't respect material ID's so you just get every object with that multi sub material applied to it.
I would have thought its something people want to do often but having looked into it i cant find a solution and no one at work knows.
Thanks in advance.
Replies
Might be slow to iterate over large, complex scenes, though... unless there's a MaxScript command for getting the number of material IDs per object (which there might well be, I haven't checked). If there isn't, you're going to have to brute-force scan all faces in the object and test for more than one MatID result.