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

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

    Parameters

    pProject
    dWidth
    Width of the drilling. Must be greater than 0.
    dHeight
    Height of the drilling. Must be greater than 0.
    dChamferLength
    Length of the rectangle chamfer. 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