# Rotate Limit Name

**URL:** https://forum.highend3d.com/t/rotate-limit-name/1549
**Category:** Maya
**Tags:** mel
**Created:** [April 21, 2008, 11:03am UTC](https://forum.highend3d.com/t/rotate-limit-name/1549 "2008-04-21T11:03:50Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![nr-puckett](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/2bfe46/32.png) [@nr-puckett](https://forum.highend3d.com/u/nr-puckett)
#### Post date: [April 21, 2008, 11:03am UTC](https://forum.highend3d.com/t/rotate-limit-name/1549/1 "2008-04-21T11:03:50Z")

</div>

hi,

this seems like it should be really simple, but I can't seem to find it.

What is name of the name of the attribute that sets rotation limits for joints?

I notice that when I change it, it runs a mel command instead of just setAttribute, but I need to know the name because I would like another attribute I've created to control it.

thanks

Nick

---

<div class="post-metadata">

### Author: ![ewerybody](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/e/bcef8e/32.png) [@ewerybody](https://forum.highend3d.com/u/ewerybody)
#### Post date: [April 21, 2008, 12:25pm UTC](https://forum.highend3d.com/t/rotate-limit-name/1549/2 "2008-04-21T12:25:01Z")

</div>

clear history,  
check echo all commands,  
2nd line:

CODE  
transformLimits -rx -44.91 45 -erx 1 0 blaObject002;

---

<div class="post-metadata">

### Author: ![nr-puckett](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/2bfe46/32.png) [@nr-puckett](https://forum.highend3d.com/u/nr-puckett)
#### Post date: [April 21, 2008, 2:28pm UTC](https://forum.highend3d.com/t/rotate-limit-name/1549/3 "2008-04-21T14:28:57Z")

</div>

QUOTE(ewerybody @ 04/21/08, 04:25 AM) [snapback]284483[/snapback]  
clear history,  
check echo all commands,  
2nd line:  
CODE  
transformLimits -rx -44.91 45 -erx 1 0 blaObject002;

yeah, I found that bit, the problem is that I was wanting to do something like:

connectAttr newNode.limitX root|thisJoint.rotationLimitX;

but I don't know if you can do that ..........

---

<div class="post-metadata">

### Author: ![ewerybody](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/e/bcef8e/32.png) [@ewerybody](https://forum.highend3d.com/u/ewerybody)
#### Post date: [April 21, 2008, 2:47pm UTC](https://forum.highend3d.com/t/rotate-limit-name/1549/4 "2008-04-21T14:47:09Z")

</div>

Ahhh! I found it myself!!!

just do a listAttr on your object:

CODE  
print `listAttr object`;  
or even better:  
CODE  
print `listAttr -st "*Limit*" object`;

---

<div class="post-metadata">

### Author: ![nr-puckett](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/2bfe46/32.png) [@nr-puckett](https://forum.highend3d.com/u/nr-puckett)
#### Post date: [April 21, 2008, 8:24pm UTC](https://forum.highend3d.com/t/rotate-limit-name/1549/5 "2008-04-21T20:24:24Z")

</div>

thanks for that,,,

for some reason didn't even think about listAttr.

thanks again,

nick

---

<div class="post-metadata">

### Author: ![nr-puckett](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/2bfe46/32.png) [@nr-puckett](https://forum.highend3d.com/u/nr-puckett)
#### Post date: [April 22, 2008, 12:17pm UTC](https://forum.highend3d.com/t/rotate-limit-name/1549/6 "2008-04-22T12:17:25Z")

</div>

.....but oddly enough the rotLimit attributes won't take an incoming connection from an attribute or an expresssion, only outgoing. Weird

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [April 22, 2008, 12:41pm UTC](https://forum.highend3d.com/t/rotate-limit-name/1549/7 "2008-04-22T12:41:02Z")

</div>

It should however it cannot be self driving itself. because tools mark the node clean on each write so whatever you do gets overriden every step of the way.

The docs staet its a readable and writable slot.
