MassElementCreateObround Method

Sets this mass element as a box with custom dimensions. The method also changes the shape type to ShapeType.FreeForm.

Namespace: Teigha.Aec.DatabaseServices
Assembly: TA_MgdAecBase (in TA_MgdAecBase.dll) Version: 27.3.0.0
Syntax
public void CreateObround(
        double width,
        double height,
        Point3d startPt,
        Point3d endPt
)

Parameters

width  Double
[in] Box width. Note: This parameter is not used; a value of 100 is used to define the box's width.
height  Double
[in] Box height. Note: This parameter is not used; a value of 100 is used to define the box's height.
startPt  Point3d
[in] Box start point. Together with endPt, defines the depth and orientation of the box.
endPt  Point3d
[in] Box end point. Together with startPt, defines the depth and orientation of the box.
See Also