Jump to content

Set State Variable to Default


Recommended Posts

Hi,

i want to set a state array to default. How do i do it ? For example, during the run i assign different states to some rows of the array. But then, it is necessary to set all rows to default (1 for example). Do i have to write a complete prozess for this or does a function exist?

Best regards

Link to comment
Share on other sites

The expression State.InitialValue might help you, but I believe you can't reset every value of the array at the same time (I might be wrong).

In this case, you'd need to set multiple assignments or loop in a process.

 

looping.png.c97d4c9032eeb4acd2dc8050fd38ed15.png

Link to comment
Share on other sites

×
×
  • Create New...