
.jpg?sfvrsn=3ad09b0a_1)
Finding example code for building SmartComponents

Maxim Riabichev
admin
When I did my bachelor thesis (find the report attached), I created a SmartComponent for Virtual Commissioning. I used the existing SmartComponents available in RobotStudio as inspiration for it.
In this post I'll explain how to find their source code, a.k.a. CodeBehind.
In Visual Studio there's an extension called ILSpy. With it you can browse DLL-files directly in Visual Studio.
It looks like this:

As you can see in the screenshot the CollisionSensor SC's CodeBehind can be found on the right.
The DLL-file containing the CodeBehind can be located in this location C:\Program Files (x86)\ABB\RobotStudio 2019\Bin and it is called RobotStudio.Services.SmartComponents.dll
The respective SmartComponents .xml file can unfortunately not be browsed in a similar manner (as far as I know).
The .xml which I created for my thesis can be found here: https://pastebin.com/ppt65wiy Perhaps it can be used as inspiration.
In this post I'll explain how to find their source code, a.k.a. CodeBehind.
In Visual Studio there's an extension called ILSpy. With it you can browse DLL-files directly in Visual Studio.
It looks like this:

As you can see in the screenshot the CollisionSensor SC's CodeBehind can be found on the right.
The DLL-file containing the CodeBehind can be located in this location C:\Program Files (x86)\ABB\RobotStudio 2019\Bin and it is called RobotStudio.Services.SmartComponents.dll
The respective SmartComponents .xml file can unfortunately not be browsed in a similar manner (as far as I know).
The .xml which I created for my thesis can be found here: https://pastebin.com/ppt65wiy Perhaps it can be used as inspiration.

—
Maxim Riabichev
PC Software Support Engineer
Tagged:
2
Categories
- 10.4K All Categories
- 5.3K RobotStudio
- 346 UpFeed
- 15 Tutorials
- 8 RobotApps
- 281 PowerPacs
- 404 RobotStudio S4
- 1.7K Developer Tools
- 238 ScreenMaker
- 2.6K Robot Controller
- 246 IRC5
- 36 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 691 RAPID Programming
- 14 Wizard Easy Programming
- 101 Collaborative Robots
- 3 Job listings