Eplan Platform API
Eplan.EplApi.DataModel Namespace / MergedConnection Class / Create Method / Create(Connection) Method

In This Topic
    Create(Connection) Method
    In This Topic
    Initializes the merged connection to cover the connection passed as parameter and all the other 'mergable' connections from the input connection belongs to. 'Mergable' in this context means, generally, representing the same corresponding connections with different placement types.
    Syntax
    public void Create( 
       Connection connIn
    )
    public:
    void Create( 
       Connection^ connIn
    ) 

    Parameters

    connIn
    Exceptions
    ExceptionDescription
    Thrown when connection is null.
    Thrown when the connection is not valid.
    Thrown when the connection can not be merged.
    Thrown when the merged connection has already been created.
    Remarks
    Only complete connections with specific placement types can be merged. Placement types of mergable connections are returned by DocumentTypeManager.GetFctDocTypesToMergeConnection() method
    See Also