MEPAnalyticalConnection.CreateMultipleConnections
Method
Description:
Creates new analytical connections between the equipment connector and the nearest point on the curves.
Creates new analytical connections between the equipment connector and the nearest point on the curves.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| doc | Document | The document where the new elements are created. |
| typeId | ElementId | The type of new analytical connections. |
| equipmentOpenConnectors | IList | The open equipment connectors to be analytically connected. |
| curveIdsToConnect | IList | The curves which the equipment is connected to. |
Return Value
| Type | Description |
|---|---|
| ISet | The new analytical connection elements. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Invalid connection type. -or- Not all connectors support the analytical connection. -or- No connector included. -or- Not all elements are valid curve ids. -or- No curve included. |
| ArgumentNullException | A non-optional argument was null |