Eplan Platform API
Eplan.EplApi.HEServices Namespace / ConnectionService Class / DesignateConnections Method / DesignateConnections(ArrayList,String,DesignateOverwrition,Boolean,Boolean) Method
List of connections for which the connections will be designated.
Name of the scheme, which is used for the wire numbering.
Mode to determine whether already existing connection designations will be overwritten. Valid values are\:0, 1, and See enum DESIGNATE_OVERWRITE_MODE.
If this flag is set to true, the created connection designations will be marked as "manually set".
If set to true and arrConnectionList is not empty, connections in the project will be updated prior to running the connection designation.

In This Topic
    DesignateConnections(ArrayList,String,DesignateOverwrition,Boolean,Boolean) Method
    In This Topic
    Designate connections (wires) with connection definition point.
    Syntax

    Parameters

    arrConnectionList
    List of connections for which the connections will be designated.
    strSchemaName
    Name of the scheme, which is used for the wire numbering.
    rOverwriteMode
    Mode to determine whether already existing connection designations will be overwritten. Valid values are\:0, 1, and See enum DESIGNATE_OVERWRITE_MODE.
    bMarkAsManual
    If this flag is set to true, the created connection designations will be marked as "manually set".
    bRegenrateConnections
    If set to true and arrConnectionList is not empty, connections in the project will be updated prior to running the connection designation.
    Exceptions
    ExceptionDescription
    \Parameters contained invalid values.
    \Internal interface necessary for wire designation could not be created.
    An error occurred during wire designation. Pleas read the exception message.
    An error occurs when used scheme name doesn't exist
    Remarks
    If no scheme exists under the given scheme name (strSchemaName), an ArgumentException is thrown. If strSchemaName is set to an empty string, the last-used scheme will be used which is currently set in GUI. Unlike in the GUI, connections are not always generated, but only if bRegenrateConnections is set to true.
    See Also