UnitUtils.IsSpec
Description:
Checks whether a ForgeTypeId identifies a spec associated with units of measurement.
Checks whether a ForgeTypeId identifies a spec associated with units of measurement.
[ObsoleteAttribute("This method is deprecated in Revit 2022 and may be removed in a future version of Revit. Please use the `IsMeasurableSpec(ForgeTypeId)` method instead.")]
public static bool IsSpec(
ForgeTypeId specTypeId
)
-
specTypeIdThe identifier to check.
Return Value
bool
True if the ForgeTypeId identifies a measurable spec, false otherwise.
-
A non-optional argument was null