Creates a new instance of a piping system type and adds it to the document.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2012
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- ADoc
- Type: Autodesk.Revit.DBDocument
The document where the element will be created and added.
- systemClassification
- Type: Autodesk.Revit.DBMEPSystemClassification
The classification for the piping system type to be created
- name
- Type: SystemString
The name of the piping system type to be created.
Return Value
The newly created piping system type element.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |
Autodesk.Revit.ExceptionsArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
Autodesk.Revit.ExceptionsArgumentsInconsistentException | The system classification is not valid for the domain of this system type. |