Eplan Platform API
Eplan.EplApi.HEServices Namespace / ConnectionService Class / DesignateConnections Method / DesignateConnections(ArrayList,String,DesignateOverwrition,Boolean,Boolean,AvoidIdenticalDesignations,Visibility,Int32[],Int32[],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.
Mode to avoid multiple designations(0 = None, 1 = In selection, 2 = In whole project, 3 = In each reset-range).
Mode to change visibility of designations(0 = Do not change, 1 = All visible, 2 = Visible once per page and extent) .
Start-values for all defined counters and subcounters in scheme.
Step-values for all defined counters and subcounters in scheme.
Group all defined counters and subcounters in scheme.

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

    Parameters

    Parameter NameDescription
    arrConnectionListList of connections for 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 and arrConnectionList is not empty, connections in the project will be updated prior to running the connection designation.
    avoidIdenticalDesignationsKindMode to avoid multiple designations(0 = None, 1 = In selection, 2 = In whole project, 3 = In each reset-range).
    visibilityKindMode to change visibility of designations(0 = Do not change, 1 = All visible, 2 = Visible once per page and extent) .
    nStartValuesStart-values for all defined counters and subcounters in scheme.
    nIncrementsStep-values for all defined counters and subcounters in scheme.
    bGroupGroup all defined counters and subcounters in scheme.
    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