I am hope to write a C# application take takes some numbers as input and export in a format that can ultimately be editable as dwg files.
I read that exporting directly to dwg is difficult, but I can accept if I can export to imtermediate format which autocad can open and subsequently convert natively and edit as autocad dwg.
side note: I am generating the "drawing" as vectors and points with OpenTK on winforms.
Any solutions?
My suggestion is to write to DXF format, witch is an ASCII text file. AutoCAD, as well as other CAD software read it natively.
DWG is a proprietary binary format, used by AutoCAD only (well, not exactly, there are other software that can write DWG format that is compatible to AutoCAD dwg).
EPS is not supported in AutoCAD, and even if there were a way to import it, you would miss many DWG features (line types, layers, blocks, etc.)
The DXF reference is available on:
http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=12272454&linkID=10809853