Loading the Python Add-in into Workbench

Load the Python add-in into a Workbench session using the following command:

LoadPyAddin(AddinDefinitionLocation = full_path_to_your_addin_directory)

This must be run each time you create a new Workbench project that uses your add-in.

You do not need to run the command for any project already created with the add-in loaded.

Once your add-in is loaded into a Workbench session and you created a Workbench project, your add-in definition is copied to the project file location in the dpall/global/pyaddins/{your_addin_name}/ directory. From this point on, the copy of the add-in is referenced for this Workbench project. Your project can then be archived and used on another computer or by another person referencing your custom add-in correctly.