2026 Class
Changes 3
C

SpecUtils

Description:
A utility class of functions related to specs. A spec describes a data type that parameters can hold.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.SpecUtils
public static class SpecUtils
Name Return Type Description
M GetAllSpecs() IList<ForgeTypeId> Gets the identifiers of all specs.
M IsSpec(ForgeTypeId) Boolean Checks whether a ForgeTypeId identifies a spec.
M IsValidDataType(ForgeTypeId) Boolean Returns true if the given ForgeTypeId identifies a valid parameter data type.