Running an Add-In
Since a RobotStudio Add-In can run in several ways, this topic showcases the best ways to execute a recently-built Add-In.
In general terms, an Add-In can be run in either by adding the .rsaddin file to a directory that RobotStudio can check; Or by installing a previously downloaded .rspak with an Add-In.
Using the Add-In file
If not done already, Create and Build a RobotStudio Add-In. Refer to the corresponding sections for instructions regarding this step.
After the Add-In's assembly has been generated, create an Add-In file for the aforementioned assembly. Make sure that the Add-In file points to the .dll file of the assembly.
Copy the .rsaddin file in a directory that RobotStudio will check for Add-Ins. The recommended directory is
C:\Program Files (x86)\ABB\RobotStudio version\Bin\Addins
for a default RobotStudio installation.Start RobotStudio and go to the Add-Ins tab; There, locate your Add-In and select Load Add-In from the context menu.
Tip
The .rsaddin file pointing to the assembly is now stored in RobotStudio's directory; Therefore, the assembly can be modified and re-built without the need to move more files to RobotStudio's directories. RobotStudio will always load the latest version of the assembly.
Copying the assembly to RobotStudio (sub-optimal)
It is possible to directly copy the generated assembly file into RobotStudio's Add-In directory. To do so, copy the .dll file into
C:\Program Files (x86)\ABB\RobotStudio version\Bin\Addins
.Caution
This method automatically loads the Add-In every time RobotStudio is started. Also, every time that the assembly needs to be updated, it needs to be copied again to the directory.