Playing with Custom Properties
Posted: Mon Oct 01, 2018 8:02 am
Hello and thank you for your time,
I've notices that motors like GDAL do not allow DXF files to contain any kind of information that is not geometric (for example, when using ogr2ogr to retrieve DB data as DXF, non geometric fields in the query are ignored).
However, in QCAD I've seen the possibility to add custom Entity fields. Inspecting the raw DXF they get written under "QCAD" tag. Is there a way to read/write does fields in scripts? What is the underlying logic in the raw DXF file so that it is possible for us to write these properties in previous Python scripts genereting the DXF?
Thanks,
Pere
I've notices that motors like GDAL do not allow DXF files to contain any kind of information that is not geometric (for example, when using ogr2ogr to retrieve DB data as DXF, non geometric fields in the query are ignored).
However, in QCAD I've seen the possibility to add custom Entity fields. Inspecting the raw DXF they get written under "QCAD" tag. Is there a way to read/write does fields in scripts? What is the underlying logic in the raw DXF file so that it is possible for us to write these properties in previous Python scripts genereting the DXF?
Thanks,
Pere