I would like to read a layer from a .dwg (polygons) and add different types of xdata (code 1000/string, code 1002/control, code1005/handle, …) to each polygon in a predefined position (ex. autocad_extended_data_list{6} to {9}) and writing it back to the .dwg source. This is what I did:
- Read the .dwg using ACAD reader (DXF/DWG)
- Expose the autocad_extended_data_list{} and its items
- Using a PythonCaller or AttributeCreator set the values for each item of the list
- Using ACAD writer (DXF/DWG) write back the layer to .dwg (set attribute output: Extended Entity Data)
I couldn't get the FME to write back the xdata!
I can get my xdata only if I create some "User Attributes" in my outpt layer (feature type properties), however the final values are not what I expected: instead of « string:test1 » I will get « string:"Name of User Attribute"=test1 » !
Could you please help me with that
Many thanks
Hani