How to set ActiveTask?

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.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 327 IRC5
- 65 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 821 RAPID Programming
- 8 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings