GetAvailableParameters Method


Gets a list of valid parameters for the specified category that can be used in the table view.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public static IList<ElementId> GetAvailableParameters(
	Document cda,
	ElementId categoryId
)
Visual Basic
Public Shared Function GetAvailableParameters ( _
	cda As Document, _
	categoryId As ElementId _
) As IList(Of ElementId)
Visual C++
public:
static IList<ElementId^>^ GetAvailableParameters(
	Document^ cda, 
	ElementId^ categoryId
)

Parameters

cda
Type: Autodesk.Revit.DBDocument
The document.
categoryId
Type: Autodesk.Revit.DBElementId
The specified element category id.

Return Value

The IDs of all valid parameters.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →