Eplan Platform API
Eplan.EplApi.HEServices Namespace / ConnectionService Class / AlignAndFormatConnectionDefinitionPoints Method / AlignAndFormatConnectionDefinitionPoints(Project,String,Align,Boolean,Boolean) Method
Project in 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 enum 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(Project,String,Align,Boolean,Boolean) Method
    In This Topic
    function to re-align and re-format connection definition points.
    Syntax

    Parameters

    Parameter NameDescription
    oProjectProject in which to format and align connection definition points.
    strSchemaNameName of the scheme, which is used for wire numbering.
    rAlignFormatModeMode, which will be used for aligning and formatting of connection definition points. The values 0, 1, and 2 are allowed. See enum ConnectionService.Align .
    bLeaveManualsIf set to true, connection definition points indicated as 'manually set' are ignored.
    bRegenrateConnectionsIf set to true, connections will be generated before formatting.
    Exceptions
    ExceptionDescription
    Invalid parameters found.
    A required internal interface could not be created.
    An error occurred during the formatting of the connection definition points. 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