MAX File Version Access

Starting with 3ds Max 2010, the .MAX scene file contains information about the version of the file itself, as well as the version of 3ds Max used to save the file - especially useful when using the Save As Version option.

The following function is available in 3ds Max 2013 and higher and lets you query this .MAX scene file version information:

getMaxFileVersionData <Max filename> 

Returns an array of two integers: the first integer contains the .MAX scene file version, the second integer contains the 3ds Max version that saved the file.

For example, a scene saved by 3ds Max 2014 using the "Save as version 2011" option would produce the following:

EXAMPLE

   getMaxFileVersionData "M2014_2011.max"

OUTPUT:

   #(13000, 16000)