File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -355,10 +355,3 @@ def name(self):
355
355
if not self ._name :
356
356
self ._name = f"Console_PID_{ self ._process .pid } "
357
357
return self ._name
358
-
359
- def scalar_param (self , parm_name ):
360
- response = self .starstatus (parm_name )
361
- response = response .splitlines ()[- 1 ]
362
- if parm_name .upper () not in response :
363
- raise ValueError (f"Parameter { parm_name } not found" )
364
- return float (response .split ()[1 ].strip ())
Original file line number Diff line number Diff line change @@ -939,6 +939,14 @@ def parameters(self) -> "Parameters":
939
939
"""
940
940
return self ._parameters
941
941
942
+ def scalar_param (self , parm_name ):
943
+ response = self .starstatus (parm_name )
944
+ response = response .splitlines ()[- 1 ]
945
+
946
+ if parm_name .upper () not in response :
947
+ raise ValueError (f"Parameter { parm_name } not found" )
948
+ return float (response .split ()[1 ].strip ())
949
+
942
950
@property
943
951
def platform (self ):
944
952
"""Return the platform where MAPDL is running."""
You can’t perform that action at this time.
0 commit comments