RVTDocs.com

Duct.SetSystemType

Method
Description:
Updates the associated system type for the duct.
Remarks:
If the duct previously did not have a system associated to it, this will create a new system.
Syntax
public void SetSystemType(
	ElementId systemTypeId
)
Parameters
Parameter Type Description
systemTypeId ElementId The ElementId of the hvac system type.
Return Value
Exceptions
Exception Condition
ArgumentException The systemTypeId is not valid HVAC system type.
ArgumentNullException A non-optional argument was null