Rotate Limit Name

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

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

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

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 ..........

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;

thanks for that,,,

for some reason didn't even think about listAttr.

thanks again,

nick

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

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.