PipingSystemCreate(Document, ElementId) Method |
Creates a new instance of a piping system and adds it to the document.
Namespace: Autodesk.Revit.DB.PlumbingAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static PipingSystem Create(
Document ADocument,
ElementId typeId
)
Public Shared Function Create (
ADocument As Document,
typeId As ElementId
) As PipingSystem
public:
static PipingSystem^ Create(
Document^ ADocument,
ElementId^ typeId
)
static member Create :
ADocument : Document *
typeId : ElementId -> PipingSystem
Parameters
- ADocument Document
-
The document where the element will be created and added.
- typeId ElementId
-
The identifier of this piping system element's type.
Return Value
PipingSystem
The newly created piping system element.
Exceptions
See Also