Message 1 of 4
Newb loop question

Not applicable
03-08-2009
01:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there!
I'm currently learning max and trying some loops for placement of objects. Currently I'm migrating from actionscript so I'm having a bit of trouble transferring the code.
Below is a script where I'm trying something as simple as creating uniquely named boxes but using the suffix wont work for me...
I would like for the code to come out with 3 boxes with the instance names newBox1 newBox2 and newBox3 obviously.
Just wondering why this doesnt work?
I'm currently learning max and trying some loops for placement of objects. Currently I'm migrating from actionscript so I'm having a bit of trouble transferring the code.
Below is a script where I'm trying something as simple as creating uniquely named boxes but using the suffix wont work for me...
for i = 1 to 3 do
(
newBox = box()
)
I would like for the code to come out with 3 boxes with the instance names newBox1 newBox2 and newBox3 obviously.
Just wondering why this doesnt work?