diff --git a/src/ansys/mapdl/core/mapdl_core.py b/src/ansys/mapdl/core/mapdl_core.py index 79cb99234dc..87dde93bc74 100644 --- a/src/ansys/mapdl/core/mapdl_core.py +++ b/src/ansys/mapdl/core/mapdl_core.py @@ -375,7 +375,7 @@ def __init__( if log_apdl: self.open_apdl_log(log_apdl, mode="w") - self._post = PostProcessing(self) + self._post_object = None # Wrapping listing functions for "to_array" methods self._wrap_listing_functions() @@ -392,6 +392,15 @@ def __init__( def _after_run(self, _command: str) -> None: pass + @property + def _post(self): + """ + Initializes _post_object and allows _post to be None at __init__ + """ + if self._post_object is None: + self._post_object = PostProcessing(self) + return self._post_object + @property def allow_ignore(self): """Invalid commands will be ignored rather than exceptions