# Are you my parentMatrix?

**URL:** https://forum.highend3d.com/t/are-you-my-parentmatrix/4784
**Category:** Maya
**Tags:** mel
**Created:** [December 5, 2003, 7:43pm UTC](https://forum.highend3d.com/t/are-you-my-parentmatrix/4784 "2003-12-05T19:43:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nonquad](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/eb9ed0/32.png) [@nonquad](https://forum.highend3d.com/u/nonquad)
#### Post date: [December 5, 2003, 7:43pm UTC](https://forum.highend3d.com/t/are-you-my-parentmatrix/4784/1 "2003-12-05T19:43:12Z")

</div>

Remember the little bird who went around asking everybody "are you my mommy"?

Well. I'm in the same predicament. I'm an instanced transform. I want to connect a friend to my instObjGroups array or parentMatrix array -- but I don't know who my parent is. I don't know which index represents me.

To restate: If I am the full path of an instanced object, how do I figure out which index of the instObjGroups/parentMatrix represents me?

It's possible (and probable, in my case) that two or more of the parentMatrices overlap -- so finding my actual parent via listRelatives and then comparing it against the data from each getAttr parentMatrix[X] is NOT an option -- even as the brutish hack that it is.

I guess I could create a temporary group, constrain it to myself, and then check to see which index it connected to. Gawd what a hack... is there a cleaner solution?

---

<div class="post-metadata">

### Author: ![nonquad](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/eb9ed0/32.png) [@nonquad](https://forum.highend3d.com/u/nonquad)
#### Post date: [December 5, 2003, 7:50pm UTC](https://forum.highend3d.com/t/are-you-my-parentmatrix/4784/2 "2003-12-05T19:50:36Z")

</div>

Ah crap even that doesn't work. ListConnections doesn't report the index of the incomming connection... bleh.

---

<div class="post-metadata">

### Author: ![nonquad](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/eb9ed0/32.png) [@nonquad](https://forum.highend3d.com/u/nonquad)
#### Post date: [December 5, 2003, 8:00pm UTC](https://forum.highend3d.com/t/are-you-my-parentmatrix/4784/3 "2003-12-05T20:00:22Z")

</div>

ah... but connectionInfo does. thank god.

yeesh.

---

<div class="post-metadata">

### Author: ![macaronikazoo](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/m/eada6e/32.png) [@macaronikazoo](https://forum.highend3d.com/u/macaronikazoo)
#### Post date: [December 7, 2003, 1:02am UTC](https://forum.highend3d.com/t/are-you-my-parentmatrix/4784/4 "2003-12-07T01:02:02Z")

</div>

wow man, i'm glad you answered your own question there, because i don't have even a vague clue as to what you're trying to do... ![](http://www2.highendnet.com/forums/icons/smile.gif)

what is an instanced transform??? care to elaborate for those not quite as illuminated? ![](http://www2.highendnet.com/forums/icons/smile.gif)
