OnDuty 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: 19.0.0.0 (19.0.0.405)
Since: 2019

Syntax

C#
public int OnDuty { get; set; }
Visual Basic
Public Property OnDuty As Integer
	Get
	Set
Visual C++
public:
property int OnDuty {
	int get ();
	void set (int value);
}

Exceptions

Exception Condition
Autodesk.Revit.Exceptions 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 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 →