BackgroundApp#

class ansys.mechanical.core.embedding.background.BackgroundApp(**kwargs)#

Background App.

Overview#

post

Post callable method to the background app thread.

stop

Stop the background app thread.

app

Get the App instance of the background thread.

Import detail#

from ansys.mechanical.core.embedding.background import BackgroundApp

Property detail#

property BackgroundApp.app: ansys.mechanical.core.App#

Get the App instance of the background thread.

It is not meant to be used aside from passing to methods using post.

Method detail#

BackgroundApp.post(callable: Callable)#

Post callable method to the background app thread.

BackgroundApp.stop() None#

Stop the background app thread.