MEPAnalyticalConnection.Create
Method
Description:
Creates a new analytical connection between two open connectors.
Creates a new analytical connection between two open connectors.
Syntax
Parameters
Parameter | Type | Description |
---|---|---|
doc | Document | The document where the new element is created. |
typeId | ElementId | The type of new analytical connection. |
startConnector | Connector | The open connector on the equipment side, whose level is inherited by the analytical connection. |
endConnector | Connector | The open connector on the network. |
Return Value
Type | Description |
---|---|
MEPAnalyticalConnection | The newly created analytical connection element. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | Invalid connection type. -or- The connector does not support analytical connection. |
ArgumentNullException | A non-optional argument was null |