Hello,
A major advantage of code_aster is the possibility to easily manipulate simulation data, using native commands but also using python methods.
Whereas the native commands are limited to the features developed in the source code, python methods for aster objects allow the users to convert the data from aster to python, thus expanding the possibilities.
However, these methods are currently not listed in any documentation. The only way to find these methods consists in opening the source code, or using the interactive run_aster to explore the object methods ('run_aster -i file.export' then 'help(mesh.method1)').
I am thinking that the VS code_aster extension could offer the user the possibility to easily display these methods.
Similarly to the 'command browser' that displays the commands used, it could be a good idea to add a 'method browser' that lists all the code_aster concepts created, and the methods available, with the documentation available with a clic in a small window.
The users could then easily acknowledge what is doable or not with the python methods when editing their comm file.
I am at your disposal if you need more details about the idea of the feature.
Best regards.
Hello,
A major advantage of code_aster is the possibility to easily manipulate simulation data, using native commands but also using python methods.
Whereas the native commands are limited to the features developed in the source code, python methods for aster objects allow the users to convert the data from aster to python, thus expanding the possibilities.
However, these methods are currently not listed in any documentation. The only way to find these methods consists in opening the source code, or using the interactive run_aster to explore the object methods ('run_aster -i file.export' then 'help(mesh.method1)').
I am thinking that the VS code_aster extension could offer the user the possibility to easily display these methods.
Similarly to the 'command browser' that displays the commands used, it could be a good idea to add a 'method browser' that lists all the code_aster concepts created, and the methods available, with the documentation available with a clic in a small window.
The users could then easily acknowledge what is doable or not with the python methods when editing their comm file.
I am at your disposal if you need more details about the idea of the feature.
Best regards.