Bug: Exception thrown when pymechanical script has ``app.new()``
Closed this issue · 1 comments
dipinknair commented
- Reproducible in 241,242,251 mechanical images and Linux platform
- script to run is given below
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
dipinknair commented
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>