Share

SpecUtils Class

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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static class SpecUtils

The SpecUtils type exposes the following members.

Methods

 NameDescription
Public methodStatic memberGetAllSpecs Gets the identifiers of all specs.
Public methodStatic memberIsSpec Checks whether a ForgeTypeId identifies a spec.
Public methodStatic memberIsValidDataType Returns true if the given ForgeTypeId identifies a valid parameter data type.

See Also

Reference

Was this information helpful?