Like Bebete I am also writing scripts about materials at the moment, thanks to Bebete and Galagast I have had many of my questions answered all ready, although I have one problem. When I am loading max files on different computers in the office I am getting missing file map complaints, these are messing up renders.
The problem is the missing maps are in materials that exist in the max scene file, but are not applied in the actual scene itself. This means they do not exist in the array collected from the "scenematerials" command. Is there any command for listing all materials in the max file, resulting in a list of all materials both applied to objects, and materials that are not applied to anything.
From there with the help written from bebete and galagast, I think I could loop through and solve the missing maps problem, but I need this TOTAL list of materials in the whole file in order to start solving it.
Any ideas guys, this has really got me stuck :(
Take care all,