Checks whether a ForgeTypeId identifies a unit.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static bool IsUnit(
ForgeTypeId unitTypeId
)
Parameters
- unitTypeId ForgeTypeId
-
The identifier to check.
Return Value
Boolean
True if the ForgeTypeId identifies a unit, false otherwise.
Exceptions
Remarks
The UnitTypeId class offers unit identifiers.
See Also
Reference