Notifications
Clear all

[Closed] Save selected objects to seperate max files?

Hi

I suck at scripting, but I’m trying to learn. I have a scene with 50+ objects and I would like them all to be saved induvidually into seperate max files. So I guess somekind of array that goes through each object and does a ‘save selected’ on it. I’m thinking this is relatively easy for an experienced scripter to make, so I was hoping to get some guidelines from in here.

Thanks

Morten

1 Reply

you could do something along the lines of:

mySelection = selection as array

for i = 1 to mySelection.count do
(
saveNodes mySelection[i] (“c:/mySaveFolder/”+mySelection[i].name+”.max”)
)