Gets the unit group for a given measurable spec.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2014
Syntax
| C# |
|---|
[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
) |
| Visual Basic |
|---|
<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 Shared Function GetUnitGroup ( _
specTypeId As ForgeTypeId _
) As UnitGroup |
| Visual C++ |
|---|
[ObsoleteAttribute(L"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.
Exceptions
See Also