API Help
Eplan.EplApi.DataModel.E3D Namespace / Drilling Class / CreateChamferedRectangle Method / CreateChamferedRectangle(Project,Double,Double,Double) Method
Width of the drilling. Must be greater then 0.
Height of the drilling. Must be greater then 0.
Length of the rectangle chamfer. Must be greater then 0.

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

Parameters

pProject
dWidth
Width of the drilling. Must be greater then 0.
dHeight
Height of the drilling. Must be greater then 0.
dChamferLength
Length of the rectangle chamfer. Must be greater then 0.
Exceptions
ExceptionDescription
Thrown when the Drilling has already been created.
Thrown if parameter pProject is null.
Thrown if size parameter isn't grater then 0.
See Also