Mohamed Koubaa
Mohamed Koubaa
I think it makes more sense to implement this using subinterpreters. They will be part of CPython's stdlib in 3.10 but it is already part of the C API which...
@Jeff17Robbins Another copy of the C Python DLL won't work on linux due to platform differences there. In general, symbols would be taken from the first loaded library that provides...
FWIW I attempted a function codec before - and it was mentioned in the PR that it should have used code generation to be more correct: https://github.com/pythonnet/codecs/pull/1
cc @greschd . This might be related to your interest in launcher configuration
I would add a few more for lighter weight mapdl containers.. but I'll keep that for later.
@mikerife what if it just printed out some suggestions, rather than throwing any error or changing the behavior of solve?
I suggest writing a parser for one command that generates a docstring. It should have a cli like this: `python parse_mapdl_command.py --source /path/to/mapdl/doc/source --command SOLVE --output /path/to/solve_docstring.txt` and then another...
@germa89 I definitely will miss being able to write MAPDL commands in a shell style without objects or function invocation. Why not just go all the way and implement an...
@germa89 actually cmdloop is more of an interactive thing that would behave more like this: ``` >>> from ansys.mapdl.core import launch_mapdl >>> mapdl = launch_mapdl() >>> mapdl.interpreter() APDL > /prep7...
@germa89 Another way closer to what you suggest is to use a contextmanager to override globals during the context ``` with mapdl.context(globals()): n(1,1,1,1) ```` where mapdl.context is a ContextManager that...