RobotStudio event

SmartComponent Information

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.

Per Svensson
Robotics and Vision Specialist
Consat Engineering

Comments

  • Found a way to do it
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • 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?

    Best Regards, Niklas Skoglund
    ABB Robotics

    Developer Center
    RobotStudio Blog