RobotStudio SDK 6.06, ControllerSimulationConfigurationCollection only has non-public members?
OskarHenriksson
mod
Greetings developers!
I need some help:
According to the API http://developercenter.robotstudio.com/blobproxy/devcenter/RobotStudio/html/d9033424-743a-0f80-9d53-34b7557ac4dd.htm
the class
What I'm trying to do is to set the simulation entry point by accessing
I need some help:
According to the API http://developercenter.robotstudio.com/blobproxy/devcenter/RobotStudio/html/d9033424-743a-0f80-9d53-34b7557ac4dd.htm
the class
ABB.Robotics.RobotStudio.Stations.ControllerSimulationConfigurationCollection<br>Has the public member item, but when I debug, the only thing existing is a private _list
ControllerSimulationConfiguration cfgs = station.SimulationConfgiruations.First().ControllerConfigurations; cfgs._list.GetType() = RobotStudio.API.Core.CmList<ControllerSimulationConfiguration>
What I'm trying to do is to set the simulation entry point by accessing
ControllerSimulationConfiguration.Configurations<TaskSimulationConfgiurations>.First<TaskSimulationConfiguration>().EntryPoint
Thanks in advance!
/Oskar
Tagged:
0
Best Answer
-
I misunderstood how ControllerSimulationConfgiurationCollection and TaskSimulationConfigurationCollection worked.
They are accessable by using the ctonroller and task as index (see code below).
The following code sets the path "path" as simulation entry point:var s = station.SimulationConfigurations.First(); var cfgs = s.ControllerConfigurations; var cfg = cfgs[controller]; var taskCfg = cfg.TaskConfigurations[station.ActiveTask]; taskCfg.EntryPoint = path.Name;station.ActiveTask.ActivePathProcedure = path;
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings