Eplan Platform API
Eplan.EplApi.DataModel.Topology Namespace / Segment Class / Create Method / Create(Project,SymbolReference,SymbolReference,Boolean) Method
Project to which this object will be assigned. Can't be null.
Symbol which will be assign as beggining of segment.
Symbol which will be assign as end of segment.
If true then StartPoint and EndPoint will be recalculated.

In This Topic
    Create(Project,SymbolReference,SymbolReference,Boolean) Method
    In This Topic
    Creates new unplaced segment and assign to it start and end symbol.
    Syntax

    Parameters

    pProject
    Project to which this object will be assigned. Can't be null.
    pStartSymbol
    Symbol which will be assign as beggining of segment.
    pEndSymbol
    Symbol which will be assign as end of segment.
    bUpdateStartEnd
    If true then StartPoint and EndPoint will be recalculated.
    Exceptions
    ExceptionDescription
    Thrown when pProject is null.
    Thrown when the Segment cannot be created.
    Thrown when internal error has occured. Please see the exception message for details.
    See Also