API Help
Eplan.EplApi.DataModel.E3D Namespace / Drilling Class / CreateRoundedRectangle Method / CreateRoundedRectangle(Project,Double,Double,Double) Method
Width of the drilling. Must be greater than 0.
Height of the drilling. Must be greater than 0.
Diameter of the rectangle roundings. Must be greater than 0 and smaller than half of the width and half of the height.

In This Topic
    CreateRoundedRectangle(Project,Double,Double,Double) Method
    In This Topic
    Creates new rounded rectangle drilling in project.
    Syntax
    public void CreateRoundedRectangle( 
       Project pProject,
       double dWidth,
       double dHeight,
       double dDiameter
    )
    public:
    void CreateRoundedRectangle( 
       Project^ pProject,
       double dWidth,
       double dHeight,
       double dDiameter
    ) 

    Parameters

    pProject
    dWidth
    Width of the drilling. Must be greater than 0.
    dHeight
    Height of the drilling. Must be greater than 0.
    dDiameter
    Diameter of the rectangle roundings. Must be greater than 0 and smaller than half of the width and half of the height.
    Exceptions
    ExceptionDescription
    Thrown when the Drilling has already been created.
    Thrown if parameter pProject is null.
    Thrown if size parameter isn't grater than 0 or value is invalid.
    See Also