NumberingParameter Constructor


Numbering Parameter Constructor

Create a new parameter with association based on a parameter id and an association type.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public NumberingParameter(
	ElementId parameterId,
	NumberingParameterType numberingParameterType
)

Parameters

parameterId ElementId
The parameter id for the target parameter.
numberingParameterType NumberingParameterType
The target for the associated parameter.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException The enum is invalid for NumberingParameterType. -or- A value passed for an enumeration argument is not a member of that enumeration
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 →