Share

Duct.SetSystemType Method

Updates the associated system type for the duct.


Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public void SetSystemType(
	ElementId systemTypeId
)

Parameters

systemTypeId  ElementId
The ElementId of the hvac system type.

Exceptions

ExceptionCondition
ArgumentException The systemTypeId is not valid HVAC system type.
ArgumentNullException A non-optional argument was null

Remarks

If the duct previously did not have a system associated to it, this will create a new system.

See Also

Reference

Was this information helpful?