API Help
Eplan.EplApi.DataModel.EObjects Namespace / Terminal Class / MakeConnectionExternalOrInternal Method

In This Topic
    MakeConnectionExternalOrInternal Method
    In This Topic
    Forces one of the terminal's connections to be treated as internal or external connection. The connection passed by the 'pConn' parameter must be connected to the terminal (must be one of its connections).
    Syntax
    public void MakeConnectionExternalOrInternal( 
       Connection pConn,
       Terminal.ConnectionSide side
    )
    public:
    void MakeConnectionExternalOrInternal( 
       Connection^ pConn,
       Terminal.ConnectionSide side
    ) 

    Parameters

    pConn
    side
    Exceptions
    ExceptionDescription
    Thrown when the connection passed by the 'pConn' parameter is none of the terminal's connections.
    Thrown when implementation of a requested interface isn't found.
    Thrown when internal functionality fails.
    Remarks
    This information is stored as the terminal's property, not connection's. This means that after disconnecting an internal connection and connecting another connection to the same pin (connection point), the new one will also be internal.
    See Also