.. _ref_embedding_user_guide_configuration:

*************
Configuration
*************

There are some configuration options that are respected when loading an embedded instance
of Mechanical into python. Currently - the only such option is whether to load ACT Addins.
The class :class:`Configuration <ansys.mechanical.core.embedding.Configuration>` can be
used to set up that configuration. This configuration can be supplied to the constructor
of the class :class:`Configuration <ansys.mechanical.core.embedding.Application>`.

For example, to load an instance of Mechanical without any ACT Addins:

.. code:: python

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

    config = Configuration()
    config.no_act_addins = True
    app = App(config=config)