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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings