Replies: 2 comments 5 replies
-
Pinging @pyansys/pymapdl-maintainers @pyansys/pymapdl-developers |
Beta Was this translation helpful? Give feedback.
0 replies
-
At the very least, mapdl.input should throw an exception if it gets a kwarg that it doesn't recognize. It should tell the user that ext is not a recognized kwarg. I think as a python user this is my expectation in general, I can't do With that being said - I do agree that it makes sense to support some the arguments of /INPUT by mapdl.input. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As mentioned in: #1749
Currently, the
mapdl.input
signature:https://github.com/pyansys/pymapdl/blob/c31f30c074f548dedb37f82b6c22d4b551e50d9d/src/ansys/mapdl/core/mapdl_grpc.py#L1559-L1568
is quite different from
/input
APDL command (rawmapdl.input
):https://github.com/pyansys/pymapdl/blob/bb276791919083bcf77e26237c6c1342615ed0f9/src/ansys/mapdl/core/_commands/session/run_controls.py#L192
I wonder if we should homogenise the API, making something like:
So the users can do:
which might be more consistent with the current API.
Beta Was this translation helpful? Give feedback.
All reactions