[Closed] Get maps and submaps of a material
I’ve had a look at it again based on what you’ve asked and I can’t seem to get my head around it. It’s much more complicated to print out in the form you asked. Perhaps if you share your aim and purpose for this function, I (or someone) might be able to suggest an alternative.
I want find out all mr Arch & Design settings included maps and their submaps.
My only problem is that I can’t find out how to get these submaps in a logical order.
With your code I get a list of all connected maps in the material, but I don’t know, which one match to which slot or map.
My posted form was an example. The main thing is, that MaxScript can give out the submaps (ideally) with the settings from this submap and so on.
what will you do with this information once you have it? If you are trying to rebuild the material from scratch, I’d suggest looking at the export_material_tree function in bobo’s bff script. Or is it something else?
I’ll take a look to Bobos BFF, thanks for the hint.
I need it for a mr material database with max, maya and maybe xsi users. I have to read out all material informations and save it to a file and a Maya Script can read it out and so you can use in 3ds max created materials (mia materials) in Maya.
Would one approach be to render to a .mi file and parse that? I don’t know how you could force all the scene materials into it, including the hidden objects …