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.

How to set ActiveTask?

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: