Notifications
Clear all

[Closed] Merge file

Hello everyone,

I’m totally new to maxscript,
I’m trying something that seems simple but I can’t make it work.

I’m trying to merge 3 max files with a loop : 1.max, 2.max and 3.max.

for i = 1 to 3 do
(
mergemaxfile “C:\Users\albator\Desktop\Test\[i].max”
)

Any idea ?

Alberto

2 Replies

for i = 1 to 3 do
(
mergemaxfile (“C:\Users\albator\Desktop\Test\[”+(i as string)+”].max”)
)

Wonderful !
thank you Matt.