SetSystemType Method


Pipe Set System Type Method

Updates the associated system type for the pipe.

Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetSystemType(
	ElementId systemTypeId
)

Parameters

systemTypeId ElementId
The ElementId of the piping system type.
Exceptions
Exception Condition
ArgumentException The systemTypeId is not valid piping system type.
ArgumentNullException A non-optional argument was null
Remarks
If the pipe previously did not have a system associated to it, this will create a new system.
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 →