API Help
Eplan.EplApi.DataModel.Graphics Namespace / PolyLine Class / CreateTransient Method
Eplan.EplApi.DataModel.Project the PolyLine will be assign to.

In This Topic
    CreateTransient Method (PolyLine)
    In This Topic
    Creates transient and not placed PolyLine object.
    Syntax
    public override void CreateTransient( 
       Project project
    )
    public:
    void CreateTransient( 
       Project^ project
    ) override 

    Parameters

    project
    Eplan.EplApi.DataModel.Project the PolyLine will be assign to.
    Exceptions
    ExceptionDescription
    Thrown when page is null.
    Thrown when the PolyLine cannot be created.
    Thrown when the PolyLine has already been created.
    Thrown when given Eplan.EplApi.DataModel.Page has PageType sets to ExternalDocument.
    Remarks
    After creation object is not stored in project database. It can be inserted into database after execution of Eplan.EplApi.DataModel.Placement.CopyTo.
    See Also