Simple MEL Help needed

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  01 January 2004
Simple MEL Help needed

I'm following a tutorial that tells me to enter this commad. It gives me an error. Anyone know how to fix this?
I can't use the Connection Editor becuase I want a negative value for the rotateY value...

Left_ikHandle_Ankle.twist = -LeftFoot_Control.rotateY

// Error: Left_ikHandle_Ankle.twist = -LeftFoot_Control.rotateY; //
// Error: Invalid use of Maya object "LeftFoot_Control.rotateY". //

Thanks for any help
  01 January 2004
Unless you put the code snippet in an expression editor, it will caused error.

You can not do it directly like that, if you want to set an attribute you will need to set it using 'setAttr' command, and querying an attribute use `getAttr` command.

But if it is an expression you can type it as what you have.
My Profile
  01 January 2004
Great, awesome, that worked.
I was trying to just write it into the command line.

Thank you soooooo much for the help, that would have taken me a day to figure out.
  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:07 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.