Python DPF plugins utilities#

Contains the utilities specific to installing and using Python DPF plugins.

ansys.dpf.core.plugins.load_plugin_on_server(plugin, server=None, symbol='load_operators', generate_operators=False)#

Load a DPF Python plugin on the global or given DPF server.

Parameters:
  • plugin – DPF Python plugin to load.

  • server (default: None) – DPF server to load the plugin onto.

  • symbol (default: 'load_operators') – Name of the function recording the operators in the plugin.

  • generate_operators (default: False) – Whether to generate the Python code for the operators in the plugin.