PipingSystem.Create(Document, ElementId)
Method
Description:
Creates a new instance of a piping system and adds it to the document.
Creates a new instance of a piping system and adds it to the document.
Parameters
Parameter | Type | Description |
---|---|---|
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
Type | Description |
---|---|
PipingSystem | The newly created piping system element. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The typeId is not an element id for a valid piping system type. |
ArgumentNullException | A non-optional argument was null |