Hi,
The function saveMaxFile does not save under 3ds Max 2016.
The function should work as before because the documentation has not changed:
http://help.autodesk.com/view/3DSMAX/2016/ENU//index.html?query=saveMaxF…
Feel free to test the code below if you are currently using/testing 3ds Max 2016:
(
clearlistener()
format "I am using 3ds Max %\n\nLet's test the saving function!\n\n" (((MaxVersion())[1]/1000) + 1998)
local i = 2013, myPath = "C:\Autodesk\3dsMax\Bug\tooThe.max"
while i <= 2016 do
(
local b = saveMaxFile myPath saveAsVersion:i clearNeedSaveFlag:true useNewFile:true quiet:true
if b then
(
format "file saved under: 3ds Max %\n" i
)
else
(
format "file not saved under: 3ds Max %\n\n" i
)
i += 1
)
)
You should get this response in the Listener Window:
I am using 3ds Max 2016
Let's test the saving function!
file saved under: 3ds Max 2013
file saved under: 3ds Max 2014
file saved under: 3ds Max 2015
file not saved under: 3ds Max 2016
By Rodman · 2015-04-26