SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Animation / Mel Scripts & Programming / What is wrong with my exression it doesnt seem to work.
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 02-12-2002, 04:18 AM   #1
crgowo
Registered User
 
crgowo's Avatar
 
Join Date: Sep 2002
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default What is wrong with my exression it doesnt seem to work.

Cwaist is all the bones gouped so its pivot is in the orgin
rfoot and lfoot are my control foot bones. and im tring to gey the waist to say inbetween the feet. so when i move a foot forward the body stays inbetween rfoot and lfoot.

here is my expression

Cwaist.tx = (rfoot.tx + lfoot.tx)/2;
Cwaist.ty = (rfoot.ty + lfoot.ty)/2;
Cwaist.tz = (rfoot.tz + lfoot.tz)/2;
Cwaist.ry = (rfoot.ry + lfoot.ry)/2;

here is my error

expression -s "Cwaist.tx = (rfoot.tx + lfoot.tx)/2;\r\nCwaist.ty = (rfoot.ty + lfoot.ty)/2;\r\nCwaist.tz = (rfoot.tz + lfoot.tz)/2;\r\nCwaist.ry = (rfoot.ry + lfoot.ry)/2;" -o "" -n "Cwaist_expression" -ae 1 -uc all ;
EEnodeAdded Cwaist_expression;
// Error: More than one attribute name matches. Must use unique path name: rfoot.tx //
// Error: More than one attribute name matches. Must use unique path name: lfoot.tx //
// Error: More than one attribute name matches. Must use unique path name: rfoot.ty //
// Error: More than one attribute name matches. Must use unique path name: lfoot.ty //
// Error: More than one attribute name matches. Must use unique path name: rfoot.tz //
// Error: More than one attribute name matches. Must use unique path name: lfoot.tz //
// Error: More than one attribute name matches. Must use unique path name: rfoot.ry //
// Error: More than one attribute name matches. Must use unique path name: lfoot.ry //
EEnodeRemoved Cwaist_expression;

im at a loss i have no idea what im doing wrong. Thanks.
crgowo is offline   Reply With Quote
Old 02-12-2002, 07:38 AM   #2
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

A wild guess: Have you tried using "translateX" instead of "tx" and so on?
__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
kbrown is offline   Reply With Quote
Old 02-12-2002, 09:17 PM   #3
crgowo
Registered User
 
crgowo's Avatar
 
Join Date: Sep 2002
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ya and its still a "no go"
crgowo is offline   Reply With Quote
Old 07-12-2002, 03:39 AM   #4
kazuko
Registered User
 
Join Date: Dec 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You probably have more than one object named lfoot and rfoot.
The err msg is asking you to specify their paths.

e.g.
character|rfoot.tx
|rfoot.tx (in this case, rfoot is a root joint)
kazuko is offline   Reply With Quote
Old 08-12-2002, 05:30 PM   #5
crgowo
Registered User
 
crgowo's Avatar
 
Join Date: Sep 2002
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ya on my geometry it had a rfoot lfoot name. So i called the joints clfoot crfoot for control. Thanks for the help.
crgowo is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thumbnails in WIP & Finished Work Miss_Nova Site News & Announcements 11 09-12-2010 06:22 AM
Character animation-Finished work maheshsubbiah Finished Work 7 05-12-2010 05:04 AM
Saw II work mtmckinley Finished Work 8 16-11-2010 01:33 PM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.