Revit 2015 API |
Pipe..::..SetSystemType Method |
Pipe Class See Also |
Updates the associated system type for the pipe. If the pipe previously did not have a system associated to it, this will create a new system.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since:
2015
Syntax
C# |
---|
public void SetSystemType( ElementId systemTypeId ) |
Visual Basic |
---|
Public Sub SetSystemType ( _ systemTypeId As ElementId _ ) |
Visual C++ |
---|
public: void SetSystemType( ElementId^ systemTypeId ) |
Parameters
- systemTypeId
- Type: Autodesk.Revit.DB..::..ElementId
The ElementId of the piping system type.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
Autodesk.Revit.Exceptions..::..DisabledDisciplineException | None of the following disciplines is enabled: Mechanical Electrical Piping. |