The warnings.py module#

Summary#

connect_warnings

Connect Mechanical warnings to the warnings Python module.

disconnect_warnings

Disconnect Mechanical warnings from the warnings Python module.

Description#

Hook to register obsolete warnings.

Module detail#

warnings.connect_warnings(app: ansys.mechanical.core.embedding.app.App)#

Connect Mechanical warnings to the warnings Python module.

warnings.disconnect_warnings(app)#

Disconnect Mechanical warnings from the warnings Python module.