Yue Hua Zhou Ding
Yue Hua Zhou Ding

Reputation: 3

Autodesk: How can I add units to CalibrationPanels.js of Forge Viewer?

I am working in an app that use Autodesk Forge Viewer, which has its own calibration panel to do measurements in 2D plans (like PDF or DWG files). This panel (by default) only displays these 5 units ('ft and fractional in', 'ft and decimal in', 'meters', 'centimeters' and 'millimeters')

I attach an image of the calibration panel of Forge Viewer: https://i.sstatic.net/YmSxf.png

I know that these units are declared in the CalibrationPanels.js of Autodesk libraries

Image from Forge component code: https://i.sstatic.net/ZMTeS.png

But the question is... how can I change the unit list to display another units, for example, to add new units or to remove the default ones?

Upvotes: 0

Views: 79

Answers (1)

Petr Broz
Petr Broz

Reputation: 9942

Customizing the list of units is not possible currently. If you need another common unit, feel free to suggest it here and we would pass it along to the viewer engineering team.

Upvotes: 0

Related Questions