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

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

Parameters

pProject
dWidth
Width of the drilling. Must be greater then 0.
dHeight
Height of the drilling. Must be greater then 0.
dDiameter
Diameter of the rectangle roundings. 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