Checks whether a ForgeTypeId identifies a unit.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public static bool IsUnit( ForgeTypeId unitTypeId )
Parameters
- unitTypeId ForgeTypeId
- The identifier to check.
Return Value
BooleanTrue if the ForgeTypeId identifies a unit, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |