Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

how to batch save max file?

how to batch save max file?

Anonymous
Not applicable
1,020 Views
2 Replies
Message 1 of 3

how to batch save max file?

Anonymous
Not applicable

hi guys,
I want a max number of objects in a separate file to save a file, and MAX file name equal to the file name of the object.

Look at the picture 

Unnamed QQ Screenshot20130908215354.jpg

0 Likes
Accepted solutions (1)
1,021 Views
2 Replies
Replies (2)
Message 2 of 3

Swordslayer
Advisor
Advisor
Accepted solution

So, what exactly is the problem? The saveNodes function will get you there; in case you are somewhat new to MAXScript, take this as a starting point:

 

fn saveObjects objs =
(
	local path = getSavePath()

	if path != undefined do
		for obj in selection do
			saveNodes #(obj) (path + obj.name)
)

saveObjects selection

 

0 Likes
Message 3 of 3

Anonymous
Not applicable

Smiley Happythank you ,This is really a good idea, my English is not good, I am sorry, the problem has been resolved, cheers!

0 Likes