Notifications
Clear all
[Closed] How To Create Multi Dimention Point Array With Maxscript
Mar 03, 2017 10:34 am
Hello , my name is Nam , i come from Viet Nam , can i ask you a question , im a newbie in maxscript
How to create a point array with 2 dimenion with maxscript ?
Thank you for your help
Best regard
6 Replies
Mar 03, 2017 10:34 am
(
Array1D = for x=1 to 10 collect [ x, 0, 0 ]
Array2D = for x=1 to 10 collect for y=1 to 10 collect [ x, y, 0 ]
Array3D = for x=1 to 10 collect for y=1 to 10 collect for z=1 to 10 collect [ x, y, z ]
format "1D >> %
" Array1D[1]
format "2D >> %
" Array2D[1][1]
format "3D >> %
" Array3D[1][1][1]
)
1 Reply
im sorry , im not good at english , my mean is: ” how to creat points ” :
for i = 1 to 6 do
(
a = point()
a.pos.x = 500 * i
)
for k = 1 to 6 do
(
b = copy a
b.pos.y = 300 * k
)
but it is wrong
1 Reply
1 Reply