File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/ansys/dpf/core/operators/result Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 77from __future__ import annotations
88
99from warnings import warn
10+ from ansys .dpf .core .core import errors
1011from ansys .dpf .core .dpf_operator import Operator
1112from ansys .dpf .core .inputs import Input , _Inputs
1213from ansys .dpf .core .outputs import Output , _Outputs
@@ -64,7 +65,13 @@ def __init__(
6465 config = None ,
6566 server = None ,
6667 ):
67- super ().__init__ (name = "CS" , config = config , server = server )
68+ try :
69+ super ().__init__ (name = "CS" , config = config , server = server )
70+ except (KeyError , errors .DPFServerException ) as e :
71+ if "doesn't exist in the registry" in str (e ):
72+ super ().__init__ (name = "mapdl::rst::CS" , config = config , server = server )
73+ else :
74+ raise e
6875 self ._inputs = InputsCoordinateSystem (self )
6976 self ._outputs = OutputsCoordinateSystem (self )
7077 if cs_id is not None :
You can’t perform that action at this time.
0 commit comments