API Help
Eplan.EplApi.HEServices Namespace / TopologyService Class / RouteConnections Method / RouteConnections(Project,Boolean) Method
Eplan.EplApi.DataModel.Project which connections will be routed.
If true routed connection are shown in the GED.

In This Topic
    RouteConnections(Project,Boolean) Method
    In This Topic
    Routes topology connections between all function with representation type Eplan.EplApi.DataModel.DocumentTypeManager.DocumentType.Topology by existing segments in given project.
    Syntax
    public void RouteConnections( 
       Project pProject,
       bool bShowRoutedConnections
    )
    public:
    void RouteConnections( 
       Project^ pProject,
       bool bShowRoutedConnections
    ) 

    Parameters

    pProject
    Eplan.EplApi.DataModel.Project which connections will be routed.
    bShowRoutedConnections
    If true routed connection are shown in the GED.
    Exceptions
    ExceptionDescription
    If any parameter is null.
    If any parameter is invalid.
    Failed to route connections. Please refer to the error message.
    An internal error occurred during routing. Please refer to the error message.
    Remarks

    If topology connection has a starting and ending symbol references on a one page, but one or both those Eplan.EplApi.DataModel.SymbolReference are not connected by segment to existing topology and this connection can be routed over this topology, then a new segments are created to complete the path. New segment is connected to the nearest routing point.

    If on one page lie two elements which have a regular connection a topology connection will be created for them.

    See Also