ParameterAccess Class


Parameter Access Class

Provides a common mechanism to access parameters, including extended properties.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB ParameterAccess

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public class ParameterAccess : IDisposable

The ParameterAccess type exposes the following members.

Constructors
Name Description
Public method ParameterAccess Constructs a new ParameterAccess object bound to the given host document.
Top
Properties
Name Description
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
Name Description
Public method Dispose Releases all resources used by the ParameterAccess
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetParameter(ElementId, ElementId) Retrieves the parameter value for the parameter on the given element.
Public method GetParameter(LinkElementId, Document, ElementId) Retrieves the parameter value for the parameter belonging to the parameter document on the given element.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method ListParameters(ElementId) Retrieves all of the parameters, including extended properties, that are applicable to the element specified by the given id.
Public method ListParameters(LinkElementId) Retrieves all of the parameters, including extended properties, that are applicable to the element specified by the given id.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →