--- /dev/null
+# Import/Export DXF
+
+import os
+import salome
+salome.salome_init()
+import GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New(salome.myStudy)
+
+# - path to the file
+dxfFile = os.path.join(os.getenv("TEMP", "/tmp"), "testExportImportDXF.dxf")
+
+# - create shape
+box = geompy.MakeBoxDXDYDZ(100, 100, 100)
+
+# - export shape
+geompy.ExportDXF(box, dxfFile)
+
+# - import shape
+shape = geompy.ImportDXF(dxfFile)
+
+# - publish in study
+geompy.addToStudy(shape, "ImportDXF")