Addin configuration#

There are some configuration options that are respected when loading an embedded instance of Mechanical into Python. The AddinConfiguration class can be used to set up addin configuration. This configuration can be supplied to the constructor of the App class.

For example, to load an instance of Mechanical using the “Mechanical” configuration name and without loading any ACT Addins:

from ansys.mechanical.core import App
from ansys.mechanical.core.embedding import AddinConfiguration

config = AddinConfiguration("Mechanical", no_act_addins=True)
app = App(config=config)