OnDuty Property


Mechanical Equipment Set On Duty Property

The number of pieces of mechanical equipment operating in parallel at any given time.

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

Property Value

Int32
Exceptions
Exception Condition
ArgumentException When setting this property: The number of on duty (number) must be less than or equal to the number of available equipments or there should be at least one equipment on duty.
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 →