Current Property


Combo Box Current Property

Gets or sets the current checked ComboBox member of the ComboBox.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ComboBoxMember Current { get; set; }

Property Value

ComboBoxMember
Exceptions
Exception Condition
ArgumentNullException Thrown when trying to set this property to .
ArgumentException Thrown when trying to set this property to a button not in this ComboBox.
Remarks
The default value is the first ComboBox member added to the ComboBox.
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 →