ConnectorElement.CreateConduitConnector(Document, Reference)
Method
Description:
Create a new conduit ConnectorElement.
Create a new conduit ConnectorElement.
Remarks:
Regenerates the document.
Regenerates the document.
Syntax
public static ConnectorElement CreateConduitConnector(
Document document,
Reference planarFace
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document to add the connector to. |
| planarFace | Reference | The planar face to place the connector on. |
Return Value
| Type | Description |
|---|---|
| ConnectorElement | The conduit ConnectorElement. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The reference is not a planar face. -or- document is not a family document. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Connector creation is not allowed in this family. |