Better exception handling when writing STEP/IGES/BREP files via Python
This commit is contained in:
parent
7d400af1f3
commit
2fdc4c7a10
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user