Eplan Platform API
Eplan.EplApi.HEServices Namespace / TopologyService Class / UpdatePage Method
Eplan.EplApi.DataModel.Page on which segments will be updated.

In This Topic
    UpdatePage Method
    In This Topic
    Updates start and end position of all segment elements found on a page.
    Syntax
    public void UpdatePage( 
       Page pPage
    )
    public:
    void UpdatePage( 
       Page^ pPage
    ) 

    Parameters

    pPage
    Eplan.EplApi.DataModel.Page on which segments will be updated.
    Exceptions
    ExceptionDescription
    Parameter pPage was set to null.
    If parameter is invalid.
    Failed to update the page. Please refer to the error message.
    An internal error occurred during update. Please refer to the error message.
    Remarks

    Method sets correct start and end positions for each found Eplan.EplApi.DataModel.Topology.Segment. A position on one site of segment is updated only if a Eplan.EplApi.DataModel.SymbolReference is assigned to this side.

    If this method will find more then just one segment which connect same two devices, it will remove duplicated segments and leave only one.

    See Also