Notifications
Clear all

[Closed] SDK: Get all material types

How do I go about grabbing a list of all available material types? Standard, VRayMtl, etc.?

3 Replies

material.classes returns a array of every shader \ texture you’ve got.
example:

print material.classes

It seems what I want is the SDK version of “material.classes” in maxscript.

http://forums.cgsociety.org/archive/index.php/t-594306.html

Anyone?

you could launch the above maxscript from your SDK plugin, and fetch the result.