How to get WB project system status?
Josef Behal
Member Posts: 22
**
Hi
I need to get the system status - whether the system is soleved/need to be update etc. ? I've got multiple systems and I would like to know which ones were already solved and which one I need to solve.
Is it possible to get the statu also for particular components like Setup, Solution, ...
Thank you for the answers
Tagged:
0
Answers
-
Hi @Josef Behal , as far as I'm aware you will indeed have to check the status for each component. The following code gets the status of the "Solution" component of the first system in the WB projetc schematic:
GetComponentState(GetAllSystems()[0].GetComponent("Solution")).State
1 -
that is exactly what I need. Thank you.
1