Modifies selected CAD data LTCustomizer21 for AutoCAD LT reference manual
ActiveX
Function set_select_data(ename As Integer, dxfcode As Short, value As String[, index As Integer]) As Boolean
C/C++
int WINAPI LTC_set_select_data(int ename,short dxfcode,const BSTR *value,int index=0);
parameter
ename:index number read by select(). Specifies a value in range of 0 - return value of select() -1.
dxfcode:DXF group code
index: index number that start from 0 in case of existing same groupe code .
value: data you want to change
return value
ActiveX: True: success. False: failure
C/C++: 1: success. 0: failure
(This function is used after execution of select() and get_select_data().,etc.)
This function modifies value which corresponds to DXF group code you specify. Basically, though this function can change all selected data, LTCustomizer21 provides some modification functions which are specialized on representative data types.
After selected data is changed by these modification function, execute update_select_data() to update modified data on AutoCAD LT.
But if you want to use update_select_data(), you must specify that DXF file version is R12 in select().
reference
set_select_layer()
set_select_color()
set_select_linestyle()
set_select_point()
set_select_polyline_vertex()
set_select_line()
set_select_arc()
set_select_circle()
set_select_text()
delete_select_data()
delete_select_data_item()
Update modified data to AutoCAD LT