ConnectorElement.CreatePipeConnector
Description:
Create a new pipe ConnectorElement with a face and an edge.
Create a new pipe ConnectorElement with a face and an edge.
Remarks:
Regenerates the document.
Regenerates the document.
Overloads (2):
CreatePipeConnector(Document,PipeSystemType,Reference,Edge)
public static ConnectorElement CreatePipeConnector(
Document document,
PipeSystemType pipeSystemType,
Reference planarFace,
Edge edge
)
-
documentThe document to add the connector to.
-
pipeSystemTypeThe PipeSystemType of the connector.
-
planarFaceThe planar face to place the connector on.
-
edgeOne of the edges in the edge loop that defines the connector location on the planar face.
-
The reference is not a planar face. -or- document is not a family document. -or- Thrown when the edge does not belong to the face.
-
A non-optional argument was NULL
-
A value passed for an enumeration argument is not a member of that enumeration
-
Connector creation is not allowed in this family.