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 7d400af1f3
commit 2fdc4c7a10

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;
}