You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mmhh... Although run_multiline is not used much in current implementation and docs, I would probably create input_strings (which maps to run_multiline) and show a deprecation warning in run_multiline for couple of releases.
It should not be a big deal to change the name though. But the above I think it is the recommended good practice.
Current situation
Sometimes, it is interesting to input multiple strings of MAPDL commands.
A less experienced PyMAPDL user might feel tempted to use
Mapdl.input
after writing a file.However, there is the
Mapdl.run_multiline
which is for that purpose but it is not very known.Proposal
I would propose then, either:
Mapdl.input_strings
Mapdl.input
accept cmd multiline strings (checking for example if there is\n
in the string) and redirect it toMapdl.run_multiline
.Given the complexity of
Mapdl.input
, I feel the first method is better.The text was updated successfully, but these errors were encountered: