FabricationUtils.ValidateConnectivity
Method
Description:
Check if two connectors are valid to connect directly without couplings.
Check if two connectors are valid to connect directly without couplings.
Syntax
public static bool ValidateConnectivity(
Document document,
Connector connector1,
Connector connector2
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document. |
| connector1 | Connector | First connector to check. |
| connector2 | Connector | Second connector to check against. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if connection is valid otherwise false. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |