Good evening to all,

as in object,  there is a way to save a DXF from a 3D polygon layer, using
pyQgis ?

I am using:

QgsVectorFileWriter.writeAsVectorFormat(layer, file, "UTF-8", crsCrs,
"DXF", overrideGeometryType=QgsWkbTypes.PolygonZ,skipAttributeCreation=True)

but (also it works with other file types) the option "overrideGeometryType"
seems to be irrilevant with DXF, and it saves in 2D.

Someone can help me to discover the correct syntax ?

Thank you in advance

Roberto
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to