We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76693f1 commit ea1912cCopy full SHA for ea1912c
src/ansys/dpf/core/field.py
@@ -728,8 +728,10 @@ def _get_meshed_region(self) -> MeshedRegion:
728
try:
729
support = self._api.csfield_get_support_as_meshed_region(self)
730
except DPFServerException as e:
731
- if "the field doesn't have this support type" in e.msg:
+ if "the field doesn't have this support type" in str(e):
732
support = None
733
+ else:
734
+ raise e
735
return meshed_region.MeshedRegion(
736
mesh=support,
737
server=self._server,
0 commit comments