SpecUtils
Public Class
Public Method
Static Member
Public Method
Static Member
Public Method
Static Member
IsValidDataType
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
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static class SpecUtilsThe SpecUtils type exposes the following members.
Methods
Name
Description
Public Method
Static Member
GetAllSpecs
Gets the identifiers of all specs.
Public Method
Static Member
IsSpec
Checks whether a ForgeTypeId identifies a spec.
Public Method
Static Member
IsValidDataType
Returns true if the given ForgeTypeId identifies a valid parameter data type.