Eplan Platform API
Eplan.EplApi.HEServices Namespace / TopologyService Class / UpdateTopologySegment Method
Eplan.EplApi.DataModel.Topology.Segment which will be updated.

In This Topic
    UpdateTopologySegment Method
    In This Topic
    Updates start and end position of a segment.
    Syntax
    public void UpdateTopologySegment( 
       Segment pSegment
    )
    public:
    void UpdateTopologySegment( 
       Segment^ pSegment
    ) 

    Parameters

    pSegment
    Eplan.EplApi.DataModel.Topology.Segment which will be updated.
    Exceptions
    ExceptionDescription
    Parameter pSegment was set to null.
    If parameter is invalid.
    Failed to update the segment. 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 a 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.
    See Also