Notifications
Clear all

[Closed] saving file for 2011 from max 2012

i want to save my file as 2011 format from 2012 using script and my current code looks like this

saveMaxFile newName clearNeedSaveFlag:false saveAsPrevious:“2011” useNewFile:false quiet:true

where newName is the full name for the file.
The code saves out a new file, so the save process itself works, but it isn’t openable in 2011

i’ve tried:
saveAsPrevious:2011
saveAsPrevious:#2011
saveAsPrevious:“2011”

where none of them produces an error, but neither of them creates a file openable in 2011.

The help file reads as follows:
In 3ds Max 2011 and higher, if a valid previous version is specified using saveAsPrevious: , the scene will be saved in the file format of the specified previous version. In 3ds Max 2011 the valid value is 2010. In 3ds Max 2012, the valid values are 2010 and 2011. Any other value will save using the current version’s format.

Help plix?

2 Replies

Hi,

The parameter name is “saveAsVersion” not saveAsPrevious, so it should be:
saveMaxFile newName clearNeedSaveFlag:false saveAsVersion:2011 useNewFile:false quiet:true

Cheers,
o

ah… it works like a charm!
Thanks übermuch!