2021 Method
Changes 8
M

UnitUtils.ConvertToInternalUnits

Description:
Converts a value from a given display unit to Revit's internal units.
Overloads (2):
ConvertToInternalUnits(Double,DisplayUnitType)
[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `ConvertToInternalUnits(double, ForgeTypeId)` overload instead.")]
public static double ConvertToInternalUnits(
	double value,
	DisplayUnitType displayUnit
)
Return Value The converted value. The converted value.