I am trying to read a .dwg file and after some modification writing it back to .dwg. I have some polygons and I need to save the handle ("autocad_entity_handle") of each polygon as an xdata for that polygon and in a predefined position ("extended_data_list{9}"), however each time and just in time of writing, ACAD Writer generates a new handle !
I appreciate if anybody can help me with that.
Many thanks
Regards
Hani