2022 Method
Changes 8
M

UnitUtils.GetUnitGroup

Description:
Gets the unit group for a given spec.
[ObsoleteAttribute("This method is deprecated in Revit 2022 and may be removed in a future version of Revit. Please use the `GetDiscipline(ForgeTypeId)` method instead.")]
public static UnitGroup GetUnitGroup(
	ForgeTypeId specTypeId
)
Return Value The unit group. The unit group.