Addin configuration#

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

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")
config.no_act_addins = True
app = App(config=config)