Gets "CIRCLE" data from selected CAD data. LTCustomizer21 for AutoCAD LT reference manual

ActiveX
   
Function get_select_circle(ename As Integer, ByRef center_x As Double, ByRef center_y As Double, ByRef center_z As Double, ByRef radius As Double) As Boolean

C/C++
    int WINAPI LTC_get_select_circle(int ename,double center[3],double *r);

parameter
ename :index number read by select(). Specifies a value in range of 0 - return value of select() -1.
center_x,center_x,center_z(ActiveX only):center point of circle
center[3](C/C++ only):center point of circle.1st index is X. 2nd index is Y. 3rd index is Z.
radius ,*r:radius

return value
True,1:success. False,0:failure

If data ename indicates is "CIRCLE", get_select_circle() returns information of circle.

Caution:
In case of point when you drew on User Coordinates System(UCS),The coordinates is on local coordinates system(UCS) you set. if you don't know coordinates of AutoCAD LT, recognize that World Coordinates System(WCS, first coordinates after AutoCAD LT run ) is basic coordinates system. In this case, the CAD data is added DXF group code 210,220,230(means normal vector which see from WCS). So you have to convert if you use the point as WCS. Also you consider origin coordinates of UCS you set. Origin coordinates of UCS can get by using read_DXF_table(). About detail of this thing, refer to UCS,OCS in AutoCAD or AutoCAD LT help.