2021 Method
Changes 8
M

UnitUtils.GetUnitTypeId

Description:
Gets the ForgeTypeId identifying the given unit.
[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. It will not be replaced, but until its removal it may be used to help migrate code that uses the `DisplayUnitType` enumeration to the `ForgeTypeId` class.")]
public static ForgeTypeId GetUnitTypeId(
	DisplayUnitType displayUnitTypeEnum
)
Return Value ForgeTypeId The identifier of the given unit.