SimplyMaya Forums

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

Home / forum / Animation / Mel Scripts & Programming / Help! "Not enough data was provided."
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 24-12-2006, 06:19 AM   #1
TomerM
Registered User
 
TomerM's Avatar
 
Join Date: Jul 2005
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Help! "Not enough data was provided."

Generally, what i am trying to create is a script that will make me 50 duplicates of my object, each object with his own random values as to scale, translate and rotation.

I wrote it this way that it'll make 10 copys of the object across the X axis using a loop,
I've put that loop inside another loop of which its objective is to repeat Loop-A 5 times, in which every time, it'll group all the objects in correct order and move them 45 units in the Z axis.

Though, for some reason, it refuses to work properly.
It says:
"Error: Not enough data was provided. The last 0 items will be skipped."
Though, The only time it does manges to work is when i ask Loop-B to execute only once instead of 5 times (Specificly, when i change the integer variable $zRows to 1).

I have attached the script,
Hope someone can help me on this one...
Attached Files
File Type: mel randduplicate.mel (2.3 KB, 69 views)

Last edited by TomerM : 24-12-2006 at 06:23 AM.
TomerM is offline   Reply With Quote
Old 24-12-2006, 04:33 PM   #2
TomerM
Registered User
 
TomerM's Avatar
 
Join Date: Jul 2005
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

solved.
TomerM 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.