Eplan Platform API
Eplan.EplApi.HEServices Namespace / ConnectionService Class / DesignateConnections Method / DesignateConnections(Project,String,DesignateOverwrition,Boolean,Boolean) Method
Project in 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, connections in the project will be updated prior to running the connection designation.

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

    Parameters

    Parameter NameDescription
    oProjectProject in which the connections will be designated.
    strSchemaNameName of the scheme, which is used for the wire numbering.
    rOverwriteModeMode to determine whether already existing connection designations will be overwritten. Valid values are\:0, 1, and See enum DESIGNATE_OVERWRITE_MODE.
    bMarkAsManualIf this flag is set to true, the created connection designations will be marked as "manually set".
    bRegenrateConnectionsIf set to true, connections in the project will be updated prior to running the connection designation.
    Exceptions
    ExceptionDescription
    Parameters contained invalid values.
    Internal interface required for wire designation could not be created.
    An error occurred during the wire designation. Please read the exception message.
    Thrown if the 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