Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
SmartComponent API
apox
✭✭
Hi,
is it possible to create instances of existing SmartComponents (LineSensor, and so on) using the API? IS there any SmartComponentFactory or Manager class to achieve sth like:
SmartComponent sc = XYZFactory.CreateLineSensor()
or anything similiar?
Best regards.
is it possible to create instances of existing SmartComponents (LineSensor, and so on) using the API? IS there any SmartComponentFactory or Manager class to achieve sth like:
SmartComponent sc = XYZFactory.CreateLineSensor()
or anything similiar?
Best regards.
0
Comments
-
Hi Apox,the different smart components like Line Sensor and Rotator are libraries just like a tool for example.You can create an instance of a library by loading it from disk. All built in smart components are located under "C:Program FilesABB Industrial ITRobotics ITRobotStudio 5.13ABB LibraryComponents".This path is not documented and may change, but lets give it a try if you are curious.We can maybe provide a way to access the library store using the API, in the future.There is an example in the API documentation (GraphicComponentLibrary Properties Example), that shows how to add a library from disk.The first step would be;GraphicComponentLibrary myLib = GraphicComponentLibrary.Load("Rotator.rslib");0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
