ForegroundAppBackend
#
- class ansys.mechanical.core.embedding.rpc.server.ForegroundAppBackend(app: ansys.mechanical.core.embedding.app.App)#
Backend for the python server where mechanical uses the main thread.
Overview#
Import detail#
from ansys.mechanical.core.embedding.rpc.server import ForegroundAppBackend
Method detail#
- ForegroundAppBackend.try_post(callable: Callable) Any #
Try to post to mechanical’s main thread.
- ForegroundAppBackend.get_app() ansys.mechanical.core.embedding.app.App #
Get the app object.