Draw Arc and LwPolylines from SDO_GEOMETRY

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I am currently working with Oralce 11g Spatial data and AutoCAD where in im bringing in the features from table to drawing file as points and polylines. In Some tables there are this compoud objects which has both Arc and Line string which im bringing in dwg file as continous polyline only.
How to draw that as polyline and arc as it is in table.
My ultimate task is to draw the entity in AutoCAD which may be like "Line String(Polyline) + Arc + Line string(Polyline)" which should actually be one entity in AutoCAD.
I referred some online stuff and found that we can join using THISDRAWING.SENDCOMMAND and this "PEDIT JOIN" . But I am not able to draw Arc segments separately.
Thisdrawing.modespace.addarc is taking inputs like (cenerpoint,radius,startangle ,endangle) but in my table I have three coordinates(x1,y1,x2,y2,x3,y3) representing an Arc..
Please suggest me how to accompish this in AutoCAD VBA.
Thanks in Advance