Enumerations | |
enum | EMxsMaxFileVersion { kMxsMaxFileVersion_Unsuported = -1, kMxsMaxFileVersion_Unspecified = 0, kMxsMaxFileVersion_Current = 1, kMxsMaxFileVersion_2014 = 2014, kMxsMaxFileVersion_2015 = 2015, kMxsMaxFileVersion_2016 = 2016, kMxsMaxFileVersion_2017 = 2017 } |
The 3ds Max file versions the maxscript save commands (saveMaxFile and saveNodes) work with. More... | |
Functions | |
ScripterExport long | GetMaxVerFromMxsMaxFileVer (EMxsMaxFileVersion mxsMaxFileVer) |
Converts a "human readable" 3ds Max version to Version Macros. More... | |
ScripterExport EMxsMaxFileVersion | GetMxsMaxFileVerFromMaxVer (long maxVersion) |
Converts a given 3ds Max version number to a EMxsMaxFileVersion. More... | |
enum EMxsMaxFileVersion |
The 3ds Max file versions the maxscript save commands (saveMaxFile and saveNodes) work with.
These values are converted by GetMaxVerFromMxsMaxFileVer() to the ones in Version Macros such as MAX_RELEASE, etc
Enumerator | |
---|---|
kMxsMaxFileVersion_Unsuported |
Unsupported 3ds Max version, corresponds to MAX_RELEASE_UNSUPPORTED. |
kMxsMaxFileVersion_Unspecified |
A file version was not specified, maxscript save commands default to saving to current file version (MAX_RELASE) |
kMxsMaxFileVersion_Current |
The current 3ds Max version, corresponds to MAX_RELEASE. |
kMxsMaxFileVersion_2014 |
3ds Max 2014 file version, corresponds to MAX_RELEASE_R16 |
kMxsMaxFileVersion_2015 |
3ds Max 2015 file version, corresponds to MAX_RELEASE_R17 |
kMxsMaxFileVersion_2016 |
3ds Max 2016 file version, corresponds to MAX_RELEASE_R18 |
kMxsMaxFileVersion_2017 |
3ds Max 2017 file version, corresponds to MAX_RELEASE_R19 |
ScripterExport long GetMaxVerFromMxsMaxFileVer | ( | EMxsMaxFileVersion | mxsMaxFileVer | ) |
Converts a "human readable" 3ds Max version to Version Macros.
mxsMaxFileVer | 3ds Max version as it occurs in the product name |
ScripterExport EMxsMaxFileVersion GetMxsMaxFileVerFromMaxVer | ( | long | maxVersion | ) |