The standard way to draw a rectangle

1
Jens S
4/19/2021 7:39 AM

Hello.

What is the standard way (object) to programmatically draw a rectangle in cadlib, so that if I later open the cadlib saved dxf file in AutoCAD the object is a rectangle and editable as such?


Thanks, Jens


Wout
4/19/2021 4:19 PM

Hi,

When you draw a rectangle in AutoCAD, it will just create a polyline entity. There is no dedicated rectangle entity in AutoCAD.

- Wout

1