01-09-2018 01:29 PM - edited 01-09-2018 09:15 PM
@TeddyLu wrote:
I have over 20 boolean controls that need to be reset back to default state (off). I've put all them into a cluster and then set to an array and change each one through a for loop,
What you need to do instead is combining also the controls into a cluster (you can make the cluster container transparent so it's not even visible) . Now you only have one terminal instead of 20. To reset, just write back to a local variables of that cluster.
Here's a quick example (LV2013).
01-09-2018 10:46 PM
hi TeddyLu,
just wanted to add this
if you only want reinitialize to default value
you can use reinitialize to default invoke node
01-10-2018 03:37 AM
Yes, Local Variables gets replaced with Reference property nodes in Snippets.
/Y