Better exception handling when writing STEP/IGES/BREP files via Python

This commit is contained in:
wmayer
2013-04-26 17:18:25 +02:00
parent f03fed87a9
commit a2b4b04c13

View File

@@ -274,10 +274,11 @@ static PyObject * exporter(PyObject *self, PyObject *args)
}
}
}
} PY_CATCH;
TopoShape shape(comp);
shape.write(filename);
TopoShape shape(comp);
shape.write(filename);
} PY_CATCH;
Py_Return;
}