2021 Method
Changes 8
M

UnitUtils.GetUnitGroup

Description:
Gets the unit group for a given unit type.
Overloads (2):
GetUnitGroup(UnitType)
[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetUnitGroup(ForgeTypeId)` overload instead.")]
public static UnitGroup GetUnitGroup(
	UnitType unitType
)
Return Value The unit group. The unit group.