ConnectorElementCreatePipeConnector(Document, PipeSystemType, Reference) Method |
Create a new pipe ConnectorElement.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static ConnectorElement CreatePipeConnector(
Document document,
PipeSystemType pipeSystemType,
Reference planarFace
)
Public Shared Function CreatePipeConnector (
document As Document,
pipeSystemType As PipeSystemType,
planarFace As Reference
) As ConnectorElement
public:
static ConnectorElement^ CreatePipeConnector(
Document^ document,
PipeSystemType pipeSystemType,
Reference^ planarFace
)
static member CreatePipeConnector :
document : Document *
pipeSystemType : PipeSystemType *
planarFace : Reference -> ConnectorElement
Parameters
- document Document
-
The document to add the connector to.
- pipeSystemType PipeSystemType
-
The PipeSystemType of the connector.
- planarFace Reference
-
The planar face to place the connector on.
Return Value
ConnectorElement
The pipe ConnectorElement.
Exceptions
Remarks
Regenerates the document.
See Also