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 Information
PerSvensson
✭✭✭
Hi
I have made a smartcomponent with code behind but I have an issue which could be hard to explain but I will try to give an example what I basically want to achive.
The smart component has lets say 2 properties
- Mechanism (RobotStudio mechanism)
- Path (string)
Then I load two instances of the smartcomponent library into RS.Lets say I name them SC_A and SC_B
But before starting the simulation I need to figure out which mechanism that is defined in SC_A and SC_B because I has to do some pre setup.
When you start the simulation you get this information in the component parameter of SimulationStart but this is to late.
I have made a smartcomponent with code behind but I have an issue which could be hard to explain but I will try to give an example what I basically want to achive.
The smart component has lets say 2 properties
- Mechanism (RobotStudio mechanism)
- Path (string)
Then I load two instances of the smartcomponent library into RS.Lets say I name them SC_A and SC_B
But before starting the simulation I need to figure out which mechanism that is defined in SC_A and SC_B because I has to do some pre setup.
When you start the simulation you get this information in the component parameter of SimulationStart but this is to late.
Per Svensson
Robotics and Vision Specialist
Consat Engineering
Robotics and Vision Specialist
Consat Engineering
0
Comments
-
Found a way to do itPer Svensson
Robotics and Vision Specialist
Consat Engineering0 -
Hi Per, I think we had a mail thread on this topic and that I possibly gave you some ideas. Or I didnt B-) Dont remebmer now.Anyway, could you share with us, how you solved it?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
