Better exception handling when writing STEP/IGES/BREP files via Python
This commit is contained in:
@@ -274,10 +274,11 @@ static PyObject * exporter(PyObject *self, PyObject *args)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} PY_CATCH;
|
|
||||||
|
|
||||||
TopoShape shape(comp);
|
TopoShape shape(comp);
|
||||||
shape.write(filename);
|
shape.write(filename);
|
||||||
|
|
||||||
|
} PY_CATCH;
|
||||||
|
|
||||||
Py_Return;
|
Py_Return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user