Code: Select all
DL_Codes::AC1015
Code: Select all
...
m_dxf.writePolyline(*dw, polyline, m_cAtttribute);
DL_VertexData vertex;
....
// adding the vertex data
....
// write entity ID
dw->dxfString(1001, "digMAR"); //starts extended data section
dw->dxfString(1000, str.toStdString());
m_dxf.writePolylineEnd(*dw);
Code: Select all
...
dw->sectionTables(); // start tables section
// // register our APP-ID
dw->tableAppid(1); // start registered APPID table
d->m_dxf.writeAppid(*dw, "digMAR");
dw->tableEnd(); // table end
dw->sectionEnd();
...
The import into QCAD only works with the file type "DXF Files [dxflib]", the import with file type "All CAD Files [OpenDesign]" results in an import error. But with the [dxflib] import the XDATA is obviously ignored (the XDATA is not displayed in the "Custom" section of the proeprty editor), and after saving back the drawing by QCAD, the APP ID registering and the entity XDATA has been removed from the DXF file (see attached "id_test_qcad.dxf")
So my question is if there exists a possibility with dxflib to write entity XDATA in a way that QCAD accepts it and keeps it also when the DXF file is saved back again by QCAD? If yes, how has the written data to be structured?
Thanks in advance for any help!