The thing is that I turned echo all command, and I actually so the setTrRorientJoint. I tried to use it as a command without success. So I left it. Next time I´ll do do what you did to get it right. Thanks for the explanation
On Oct 21, 3:08 pm, Tim Fowler <[email protected]> wrote: > Normally I'd turn on "Echo All" in the script editor and see what gets > spit out. Sometimes you have to look for anything obvious there and > then maybe poke around the mel scripts a bit. > > So for this one, if you turn off the option in the tool settings > window you get something like: > setTRSOrientJoint > MayaWindow|MainToolSettingsLayout|tabLayout1|manipMove {0} Move; > > But all that layout stuff means it's really meant to only be called > from the UI...so I do a: > whatIs setTRSOrientJoint; > To find that it's in setTRSOrientJoint.mel > > Looking there you see that it does a bit of checking for a few things, > but then ends up calling manipMoveContext to actually disable it. The > script uses the short names for the flags, which can sometimes be hard > to guess what they stand for so you can quickly do a: > help manipMoveContext; > In the script editor to see the full name of the flag you're probably > looking for is "-orientJointEnabled on|off" > > > > > > > > On Fri, Oct 21, 2011 at 8:54 AM, rudi <[email protected]> wrote: > > thanks Tim.How did you find that command? I didn´t saw it in the help -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
