# Command that check selected obj's Material Name?

**URL:** <https://discourse.mcneel.com/t/command-that-check-selected-objs-material-name/172832>\
**Category:** Rhino for Windows\
**Tags:** windows\
**Created:** [January 8, 2024, 12:47am UTC](https://discourse.mcneel.com/t/command-that-check-selected-objs-material-name/172832 "2024-01-08T00:47:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmnoc1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lmnoc1/32/637529_2.png) [@lmnoc1](https://discourse.mcneel.com/u/lmnoc1)\
**Post date:** [January 8, 2024, 12:47am UTC](https://discourse.mcneel.com/t/command-that-check-selected-objs-material-name/172832/1 "2024-01-08T00:47:45Z")

</div>

Is there any command that can quickly return the selected object’s assigned Material name?

I found that Ive always spent a long time scolling down the list inside the “Materials” tab and looking for the yellow highlight  
especially when the project has hundreds of materials  
I will then have to find the same name under the vray list in order to edit the material

I felt like im definetely doing it wrong? Need some better workflow. Thanks

---

<div class="post-metadata">

**Author:** ![Tom\_P](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tom_p/32/766520_2.png) [@Tom\_P](https://discourse.mcneel.com/u/Tom_P)\
**Post date:** [January 8, 2024, 2:32am UTC](https://discourse.mcneel.com/t/command-that-check-selected-objs-material-name/172832/2 "2024-01-08T02:32:04Z")

</div>

the material tab in the properties panel ?  
(\_properties)

![Screenshot 2024-01-08 at 03.31.13](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/8/4/f/84f74cab3d1f6957eaf904aa19702e77c60f3135.png)

 ![Screenshot 2024-01-08 at 03.30.57](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/1/8/018d57e9bc9a1df2107d823a335faab5efc0debb.png)

---

<div class="post-metadata">

**Author:** ![nathanletwory](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/nathanletwory/32/482880_2.png) [@nathanletwory](https://discourse.mcneel.com/u/nathanletwory)\
**Post date:** [January 8, 2024, 4:52am UTC](https://discourse.mcneel.com/t/command-that-check-selected-objs-material-name/172832/3 "2024-01-08T04:52:59Z")

</div>

You can also set the Materials panel to only show materials for selected objects using the right-click context menu in the materials panel.
