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

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

    Parameters

    oProject
    Eplan.EplApi.DataModel.Project the Rectangle will be assign to.
    Exceptions
    ExceptionDescription
    Thrown when oProject is null.
    Thrown when the Rectangle cannot be created.
    Thrown when the Rectangle has already been created.
    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