Hi Mike,
switching to the newer version worked, thank you. But with the new version I am getting another error in a different code. This is the part of the other code, which worked with PyMAPDL 0.63.3, but does not work with PyMAPDL 0.65.0:
mapdl.csys(0)
mapdl.nsel('s','loc','z',0)
mapdl.d('ALL', 'UX', 0)
mapdl.d('ALL', 'UY', 0)
mapdl.d('ALL', 'UZ', 0)
mapdl.d('ALL', 'ROTX', 0)
mapdl.d('ALL', 'ROTY', 0)
mapdl.d('ALL', 'ROTZ', 0)
mapdl.allsel('all')
CRITICAL - pymapdl_global - logging - handle_exception - Uncaught exception
Traceback (most recent call last):
File "C:\Users\...\Skript.py", line 191, in
mapdl.d('ALL', 'ROTX', 0)
File "C:\Users\...\AppData\Roaming\Python\Python311\site-packages\ansys\mapdl\core\_commands\solution\fe_constraints.py", line 133, in d
return self.run(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\...\AppData\Roaming\Python\Python311\site-packages\ansys\mapdl\core\mapdl.py", line 3004, in run
self._raise_errors(text)
File "C:\Users\...\AppData\Roaming\Python\Python311\site-packages\ansys\mapdl\core\mapdl.py", line 4015, in _raise_errors
raise MapdlCommandIgnoredError(text)
ansys.mapdl.core.errors.MapdlCommandIgnoredError: *** WARNING *** CP = 49.125 TIME= 08:59:54
An inactive degree of freedom label (ROTX) was found on the D command.
The current degree of freedom set is: UX UY UZ
This degree of freedom will be ignored.
*** WARNING *** CP = 49.125 TIME= 08:59:54
No valid degree of freedom labels were input. The D command is
ignored.
Ignore these messages by setting 'ignore_errors'=True
Process finished with exit code 1