7 from salome.geom import geomBuilder
8 geompy = geomBuilder.New(salome.myStudy)
11 dxfFile = os.path.join(os.getenv("TEMP", "/tmp"), "testExportImportDXF.dxf")
14 box = geompy.MakeBoxDXDYDZ(100, 100, 100)
17 geompy.ExportDXF(box, dxfFile)
20 shape = geompy.ImportDXF(dxfFile)
23 geompy.addToStudy(shape, "ImportDXF")