Enumerations | |
enum | EMxsMaxFileVersion { kMxsMaxFileVersion_Unsuported = -1, kMxsMaxFileVersion_Unspecified = 0, kMxsMaxFileVersion_Current = 1, kMxsMaxFileVersion_2016 = 2016, kMxsMaxFileVersion_2017 = 2017, kMxsMaxFileVersion_2018 = 2018, kMxsMaxFileVersion_2019 = 2019, kMxsMaxFileVersion_2020 = 2020 } |
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_2016 |
3ds Max 2016 file version, corresponds to MAX_RELEASE_R18, obsolete as of 3ds Max 2020 |
kMxsMaxFileVersion_2017 |
3ds Max 2017 file version, corresponds to MAX_RELEASE_R19 |
kMxsMaxFileVersion_2018 |
3ds Max 2018 file version, corresponds to MAX_RELEASE_R20 |
kMxsMaxFileVersion_2019 |
3ds Max 2019 file version, corresponds to MAX_RELEASE_R21 |
kMxsMaxFileVersion_2020 |
3ds Max 2020 file version, corresponds to MAX_RELEASE_R22 |
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 | ) |