# Get connection node from .color slot on material

**URL:** https://forum.highend3d.com/t/get-connection-node-from-color-slot-on-material/3901
**Category:** Maya
**Tags:** mel
**Created:** [February 28, 2005, 11:30pm UTC](https://forum.highend3d.com/t/get-connection-node-from-color-slot-on-material/3901 "2005-02-28T23:30:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rtrowbridge](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@rtrowbridge](https://forum.highend3d.com/u/rtrowbridge)
#### Post date: [February 28, 2005, 11:30pm UTC](https://forum.highend3d.com/t/get-connection-node-from-color-slot-on-material/3901/1 "2005-02-28T23:30:11Z")

</div>

How would I get the name of the node connected to the .color slot of a material. getAttr foobar.color just gives me a RGB value.

-RyanT  
Pipeworks Software / BuzzMonkey Software

---

<div class="post-metadata">

### Author: ![milodc](https://forum.highend3d.com/user_avatar/forum.highend3d.com/milodc/32/264_2.png) [@milodc](https://forum.highend3d.com/u/milodc)
#### Post date: [February 28, 2005, 11:43pm UTC](https://forum.highend3d.com/t/get-connection-node-from-color-slot-on-material/3901/2 "2005-02-28T23:43:52Z")

</div>

listConnections -plugs yes foobar.color

---

<div class="post-metadata">

### Author: ![rtrowbridge](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@rtrowbridge](https://forum.highend3d.com/u/rtrowbridge)
#### Post date: [March 1, 2005, 12:42am UTC](https://forum.highend3d.com/t/get-connection-node-from-color-slot-on-material/3901/3 "2005-03-01T00:42:34Z")

</div>

Thank you! ![](http://www2.highendnet.com/forums/icons/blush.gif))
