Expression Execuation Error on File Open

Become a member of the CGSociety

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

Thread Tools Display Modes
  08 August 2008
Expression Execuation Error on File Open

When I open my rig file in Maya I get a warning at the bottom saying...

"// Error: An execution error occured in the expression Limb_Stretch. //

Yet when I initially built the expression and hit create I didnt get any errors, nor do I get any errors if I hit Edit in the expression editor.

What I built the expression to do works I am just confused by the error I get when I launch the file in Maya.

Also here is my expression

// Arm Stretch

if (l_Arm_Stretchy_DistShape.distance >= l_Arm_Stretchy_MD.input1X){

be_L_Shld_JNT_IK_Guide.scaleX = l_Arm_Stretchy_DistShape.distance/l_Arm_Stretchy_MD.input1X;

be_L_Elbow_JNT_IK_Guide.scaleX = l_Arm_Stretchy_DistShape.distance/l_Arm_Stretchy_MD.input1X;

} else{

be_L_Shld_JNT_IK_Guide.scaleX = 1;

be_L_Elbow_JNT_IK_Guide.scaleX = 1;


Jr Artist

-Modeling- -Character Set Up-

Cottage Scene
  08 August 2008
does l_Arm_Stretchy_MD.input1X default to 0.0?

Cause if so, I'll assume it's a divide by 0 error. Make sure your if statements also states that it cannot equal (!=) 0
  08 August 2008
This is a "division by 0 error", and a really boring one to

When you create a multiplyDivide node, just change all the inputs so that none of them are 0 like they are by default .... even if you only use input1x, set Y & Z to something different than 0 anyway, or you will get that error.

// Otto
  08 August 2008

These errors also occur if you referencing file...i.e. multiple expressions are created doing the same stuff so there is the error.
  08 August 2008
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 01:09 AM.

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