autodesk viewer – How are units of converted IFC files handled

I’ve got two IFC models. One is in meters and the other in millimeters. It seems as though if I submit a translation job to SVF2 to developer.api.autodesk.com/modelderivative/v2/designdata/job no processing on units is done.

So following the basic viewer tutorial here: tutorials.autodesk.io/tutorials/simple-viewer/viewer – this means that one model is 1000x smaller/larger than the other.

How are unit differences meant to be canonicalised? I see this question Loading models with different units into Forge viewer from 2019 which suggests I could change it viewer-side with an undocumented function but I don’t know how to use this for the latest viewer (7.*).

In addition, if I had to write code / options to scale it viewer-side, what call can I make to retrieve the units?

Sample models to help testing:

Read more here: Source link