Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   Help! "Not enough data was provided." (https://simplymaya.com/forum/showthread.php?t=24355)

TomerM 24-12-2006 07:19 AM

Help! "Not enough data was provided."
 
1 Attachment(s)
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...

TomerM 24-12-2006 05:33 PM

solved.


All times are GMT. The time now is 01:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018