How to set ActiveTask?
Options
Lin
✭
If the station has multiple tasks. "T_ROB1", "T_ROB2".
How can I set/change the ActiveTask.
_currentStation = Project.ActiveProject as Station;
_currentStation.ActiveTask = ?
I can able to find the tasks by
ProjectObject[] projobjs = _currentStation.GetAllObjects();
projobj.TypeDisplayName == "Task"
How can I set other task ["T_ROB2"] as my ActiveTask.?
Lingaa
Tagged:
0
Categories
- All Categories
- 5.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings