- Managing plugins: Configure your installation and control the list of plugins loaded by default.
- Setting plugin environments: Define the loading environment for each plugin individually.
CAUTION: To ensure that DPF operates correctly, modify these XML files carefully. All paths specified in these XML files must adhere to the path conventions of the respective operating system:
- for Linux paths, use forward slashes (/).
- for Windows paths, use double backward slashes (\).
Configure your DPF installation
The DataProcessingCore.xml file contains the configuration related to the plugins loaded by default, plugin search, and environment setup. In this XML file, some of the elements are optional, and many of the elements have Linux-specific versus Windows-specific child elements. It follows the structure shown below:Environment configuration
The <Environment> element lets you set the ANSYS_DPF_ACCEPT_LA environment variable to Y to mark active acceptance of the DPF license agreement and prevents from having to set it on your machine or at the beginning of every session.Plugin search path configuration
The <SearchPath> element lets you modify where DPF looks for plugins to load at the start of a session. To load plugins located outside of the standard DPF installation, prepend the path to the plugin folder to value of the Path element.Default plugins configuration
The <DefaultPlugins> element defines the list of plugins to load automatically when the server starts. It contains a child element for each plugin, such as <native>. The element name for a plugin is used as the key when loading it. Each plugin must have a unique element name/key. Each plugin must have the following child elements:- <Path> stores the location of the plugin to load. The normal mechanism that the operating system uses to find a .dll or .so file is used. The .dll file could be in the Windows path, or the .so file could be in the Linux LD_LIBRARY_PATH system environment variable.
- <Loader> defines the entrypoint procedure name to call upon loading the plugin. In practice this procedure is used to record operators, thus LoadOperators is the recommended name.
- <UsePluginXml> defines whether to use the <PLUGIN>.xml file located next to it to configure the plugin. This element is optional. The default value is true.
- ANSYS_ROOT_FOLDER is the root folder of the Ansys or DPF installation.
- THIS_XML_FOLDER is the folder location of the current XML file (here the location of the DataProcessingCore.xml file).