SimplyMaya Forums

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

Home / forum / Animation / Mel Scripts & Programming / skinPercent Output Issue
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 02-04-2005, 05:45 PM   #1
InvaZimm
Subscriber
 
InvaZimm's Avatar
 
Join Date: Apr 2003
Location: Florida
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Angry skinPercent Output Issue

Would anyone happen to know why when querying the weight value of a joint at a specified vert it is returning to me only a 1 or a 0, no decimal number? I'm basing my line of code off the example

// Get the weight of cv[100] corresponding to joint3

skinPercent -t joint3 -q skinCluster1 shape.cv[100]

in the help docs. Since I seem to be receiving and int rather than a decimal float my script cannot function correctly. Any ideas on what is going on here, or how to get around it? Thanks.
__________________
John 'Zimm' Zimmermann
Setup Artist
http://johnzimmermann.com

“Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." - A. Einstein
InvaZimm is offline   Reply With Quote
Old 02-04-2005, 07:18 PM   #2
InvaZimm
Subscriber
 
InvaZimm's Avatar
 
Join Date: Apr 2003
Location: Florida
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Crisis Averted. hidden error.
__________________
John 'Zimm' Zimmermann
Setup Artist
http://johnzimmermann.com

“Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." - A. Einstein
InvaZimm 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

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.