# Lattice structure - access to FFD?

**URL:** https://forum.highend3d.com/t/lattice-structure-access-to-ffd/5411
**Category:** Maya
**Tags:** mel
**Created:** [April 4, 2003, 12:43am UTC](https://forum.highend3d.com/t/lattice-structure-access-to-ffd/5411 "2003-04-04T00:43:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![iaki](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/i/e79b87/32.png) [@iaki](https://forum.highend3d.com/u/iaki)
#### Post date: [April 4, 2003, 12:43am UTC](https://forum.highend3d.com/t/lattice-structure-access-to-ffd/5411/1 "2003-04-04T00:43:20Z")

</div>

Hi,

How does one query the FFD name of a selected Lattice? I'm not sure how to navigate at that level...

Thanks! - iaki

---

<div class="post-metadata">

### Author: ![takigawa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/90db22/32.png) [@takigawa](https://forum.highend3d.com/u/takigawa)
#### Post date: [April 4, 2003, 3:19pm UTC](https://forum.highend3d.com/t/lattice-structure-access-to-ffd/5411/2 "2003-04-04T15:19:15Z")

</div>

Hi,

I think there are several ways to query FFD name of a selected Lattice.  
Please keep it mind that this is nothing but one sample way to query it.

{  
string $lattice[] = `ls -sl`;  
string $shape[] = `listRelatives -s $lattice[0]`;  
string $ffd[] = `listConnections -p 0 -d 1 ($shape[0] + ".worldMatrix[0]")`;  
print $ffd[0];  
}

\*Maya4.5 on NT ~takigawa

---

<div class="post-metadata">

### Author: ![iaki](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/i/e79b87/32.png) [@iaki](https://forum.highend3d.com/u/iaki)
#### Post date: [April 4, 2003, 5:42pm UTC](https://forum.highend3d.com/t/lattice-structure-access-to-ffd/5411/3 "2003-04-04T17:42:12Z")

</div>

Thanks very much, takigawa - crisis averted. I knew it was connected to the shape node by .worldmatrix[0], but didn't know how to get there through mel... The `listrelatives -s` is something I've been looking for!

- iaki
