Modifies text data in selected CAD data LTCustomizer21 for AutoCAD LT reference manual

ActiveX
Function set_select_text(ename As Long, x As Double, y As Double, z As Double, text As String) As Boolean
C/C++
int WINAPI LTC_set_select_text(int ename,double xyz[3],BSTR *text);

parameter
ename:index number read by select(). Specifies a value in range of 0 - return value of select() -1.
x,y,z or xyz[]:Start coordinates you modify. About xyz[], 1st index is X. 2nd index is Y. 3rd index is Z
text:Text string you modify

return value
ActiveX: True: success .False: failure
C/C++: 1: success .0: failure


This function modifies selected text data.

Caution: If ename indicates TEXT entity and value of DXF group code 72,73 isn't 0, this function writes value of DXF group code 11,21,31 as vertex coordinates of text data.(by default, LTCustomizer21 writes DXF group codes 10,20,30 as vertex coordinates of text data.) Refer to write_DXF_text() about DXF group codes 72,73.