- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Autodesk,
In Autodesk 3ds Max 2025, some files are created with units that differ from the system default. When opening these files programmatically, the units can become inconsistent. How can I set the units before opening each file programmatically to avoid this issue?
We are launching the 3ds Max 2025 application via the command line and opening files using our C# library with Autodesk.Max.dll through a WebSocket connection. However, the files are opening with incorrect units.
Here is an example snippet:
public void OpenDocument(IInterface14 coreInterface, string filePath)
{
coreInterface.LoadFromFile(filePath, true);
}
We are manually launching the 3ds Max 2025 application and attempting to open files with different units. When we do this, we encounter the unit mismatch dialog. After selecting the “Adopt the File’s Unit Scale” option, the file opens with the expected units.
Solved! Go to Solution.