Introduction to Maya - Modeling Fundamentals Vol 2
This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with complex objects.
# 1 24-12-2006 , 07:19 AM
TomerM's Avatar
Registered User
Join Date: Jul 2005
Posts: 47

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, 485 views)

Last edited by TomerM; 24-12-2006 at 07:23 AM.
# 2 24-12-2006 , 05:33 PM
TomerM's Avatar
Registered User
Join Date: Jul 2005
Posts: 47
solved.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads