PipingSystem.Create
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.
Overloads (2):
Create(Document,ElementId,String)
public static PipingSystem Create(
Document ADocument,
ElementId typeId,
string name
)
-
ADocumentThe document where the element will be created and added.
-
typeIdThe identifier of this piping system element's type.
-
StringnameThe name of the piping system to be created.
-
The typeId is not an element id for a valid piping system type.
-
A non-optional argument was NULL
-
None of the following disciplines is enabled: Mechanical Electrical Piping.