Closed dipinknair closed 1 month ago
import ansys.mechanical.core as mechanical import logging from ansys.mechanical.core.embedding.logger import Configuration, Logger Configuration.configure(level=logging.ERROR, to_stdout=True) app=mechanical.App(version=241) #change version accordingly app.update_globals(globals()) print(app) app.new()
Output
This is happening with new way of updating app.update_globals(globals()). This issue happens only when you run the script with mechanical-env python <script>
app.update_globals(globals())
mechanical-env python <script>
Output