Message 1 of 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
Using the ShowProperties in a vray material I can get values like this: ".texmap_diffuse (Diffuse_map) : texturemap"
I am using this function to get all TextMap in a Material selected: getNumSubTexmaps. In vray for example I have 31 slots...
With this function (getSubTexmapSlotName _matsel 1) I get the value like: "Diffuse"
But I need to get the type of this slot like "texturemap" that I can get in with ShowProperties.
This value is a ClassOf I guess but I dont know how to get it.
Probably I need to get a material > do a loop in all slots and test if is a texturemap.
It is possible? Thank you!
Solved! Go to Solution.