Notifications
Clear all
[Closed] Get the material name of a sub object selection
Mar 17, 2010 3:56 am
Hi guys,
I have a cube with a multi sub object material. I have one face selected and need to get its material name through script.
Every method I’ve tried keeps returning the entire multisub object material?
Can anyone help?
Thanks
1 Reply
Mar 17, 2010 3:56 am
id = ($.getmaterialindex true)
$.material[id].name
I think this is what u r looking for…