ParameterDefinition Property


Color Fill Scheme Parameter Definition Property

Represents the parameter of the elements that this scheme could be used to color.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ElementId ParameterDefinition { get; set; }

Property Value

ElementId
Exceptions
Exception Condition
ArgumentException When setting this property: The paramId cannot be applied to the scheme.
ArgumentNullException When setting this property: A non-optional argument was null
Remarks
When this property changed, all existing scheme entries will be removed from the scheme, and the value of IsByRange property will be set to false if the parameter storage type is not numeric.
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 →