API Help
Eplan.EplApi.HEServices Namespace / ConnectionService Class / AlignAndFormatConnectionDefinitionPoints Method / AlignAndFormatConnectionDefinitionPoints(ArrayList,String,Align,Boolean,Boolean) Method
List of connections for which to format and align connection definition points.
Name of the scheme, which is used for wire numbering.
Mode, which will be used for aligning and formatting of connection definition points. The values 0, 1, and 2 are allowed. See enumeration ConnectionService.Align.
If set to true, connection definition points indicated as 'manually set' are ignored.
If set to true, connections will be generated before formatting.

In This Topic
    AlignAndFormatConnectionDefinitionPoints(ArrayList,String,Align,Boolean,Boolean) Method
    In This Topic
    function to re-align and re-format connection definition points.
    Syntax

    Parameters

    arrConnectionList
    List of connections for which to format and align connection definition points.
    strSchemaName
    Name of the scheme, which is used for wire numbering.
    rAlignFormatMode
    Mode, which will be used for aligning and formatting of connection definition points. The values 0, 1, and 2 are allowed. See enumeration ConnectionService.Align.
    bLeaveManuals
    If set to true, connection definition points indicated as 'manually set' are ignored.
    bRegenrateConnections
    If set to true, connections will be generated before formatting.
    Exceptions
    ExceptionDescription
    Invalid parameters found.
    A necessary internal interface could not be created.
    An error occurred during formatting the connection definition points.
    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