I am having some issues with a DXF export from QGIS. When i open the DXF file in AutoCAD, the hatches that are generating to represent the polygons in QGIS are all generating without areas.

Example hatch selected in AutoCAD

Is there a better way to transfer the vector polygon layer from QGIS into AutoCAD that would allow AutoCAD to see these as properly generated hatches and thus calculate an area for them?

If I generate a boundary for the hatch and reassign it to that newly generated boundary then the hatch works as expected and AutoCAD can calculate it's area. enter image description here

  • fyi QGIS calculates the ellipsoisal area, and AutocCAD calculates the planimetric area forums.autodesk.com/t5/autocad-forum/… do you have the area calculated before exporting in QGIS?
    – Mapperz
    Aug 5, 2021 at 16:23
  • Hi Mapperz, good to know, thank you. So for more context what I am doing is creating to seperate plans in AutoCAD of a site (at which point I can calculate areas). I am then saving these as dxf files and importing them into QGIS to UNION them to calculate the overlaps and then returning the product to AutoCAD to create the final map with key as QGIS is somewhat clunky in it's layout generation.
    – Nathan
    Aug 6, 2021 at 8:04
  • 1
    DXF files are created in 2004 format and I think their hatches doesn't have the boundary geometry attached. But maybe you can export the polygons as closed polylines instead, setting the proper configuration option. Aug 6, 2021 at 20:09


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.