Hi, i'd like to be able to get a selection of objects based on the presence of a map in the object's material
right now for a specific material i do use something like
on findvrblend pressed do (for o in objects where classof o.material == VRayBlendMtl do selectmore o)this will let me search and select all the objects that have a vrayblendmtl
however (of course) this wont work if i try to get the material through a map in the material slot, let say a vraydirt.
i'm guessing i need to write it to an array which i can get with
getclassinstances vraydirt however i can't go further i spent about an afternoon in searchings and lots of tests but i can't get a clue.
thankyou in advance
cdb
By cdb · 2015-10-26
barigazy · 2015-10-28