Convert mm to meters

how can i convert length of tray to meters?

Multiply by 304.8 to convert from decimal feet to millimetres

1 Like

I don’t understand where I should multiply

Use this method.

from Autodesk.Revit.DB.UnitUtils import ConvertFromInternalUnits

length_mm = ConvertFromInternalUnits(length, DisplayUnitType.DUT_MILLIMETERS)

Just fyi this has changed for 2021+