# Finding which Shader is attached

**URL:** https://forum.highend3d.com/t/finding-which-shader-is-attached/5701
**Category:** Maya
**Tags:** mel
**Created:** [November 11, 2002, 5:03pm UTC](https://forum.highend3d.com/t/finding-which-shader-is-attached/5701 "2002-11-11T17:03:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![trickyr](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/258eb7/32.png) [@trickyr](https://forum.highend3d.com/u/trickyr)
#### Post date: [November 11, 2002, 5:03pm UTC](https://forum.highend3d.com/t/finding-which-shader-is-attached/5701/1 "2002-11-11T17:03:08Z")

</div>

Hi,  
I am trying to query an object to find out what material is attached to it I can't seem to find a command that does this anyone know he answer?  
Thanks  
Tricky

---

<div class="post-metadata">

### Author: ![trickyr](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/258eb7/32.png) [@trickyr](https://forum.highend3d.com/u/trickyr)
#### Post date: [November 12, 2002, 12:11pm UTC](https://forum.highend3d.com/t/finding-which-shader-is-attached/5701/2 "2002-11-12T12:11:08Z")

</div>

Surely someone must know? ![](http://64.32.63.100/forums/icons/smile.gif)

---

<div class="post-metadata">

### Author: ![jeffd](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/71c47a/32.png) [@jeffd](https://forum.highend3d.com/u/jeffd)
#### Post date: [November 12, 2002, 3:41pm UTC](https://forum.highend3d.com/t/finding-which-shader-is-attached/5701/3 "2002-11-12T15:41:57Z")

</div>

listConnections -s 0 -d 1 -type shadingEngine [objectShape]

--JeffD
