Eplan Platform API
Eplan.EplApi.HEServices Namespace / ConnectionService Class / DesignateConnections Method / DesignateConnections(Project,String,DesignateOverwrition,Boolean,Boolean,AvoidIdenticalDesignations,Visibility,Int32[],Int32[],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.
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(Project,String,DesignateOverwrition,Boolean,Boolean,AvoidIdenticalDesignations,Visibility,Int32[],Int32[],Boolean[]) Method
    In This Topic
    Designate connections (wires) with connection definition point.
    Syntax

    Parameters

    oProject
    Project in 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, connections in the project will be updated prior to running the connection designation.
    avoidIdenticalDesignationsKind
    Mode to avoid multiple designations(0 = None, 1 = In selection, 2 = In whole project, 3 = In each reset-range).
    visibilityKind
    Mode to change visibility of designations(0 = Do not change, 1 = All visible, 2 = Visible once per page and extent) .
    nStartValues
    Start-values for all defined counters and subcounters in scheme.
    nIncrements
    Step-values for all defined counters and subcounters in scheme.
    bGroup
    Group all defined counters and subcounters in scheme.
    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