Forum Discussion
Count how many objects are in selected state with an incremental variable
Hello Phil and Nedim, thank you both for your great answers.
To give you more details on what I was trying to do, I had a thermometer that had to go up and down depending on how many zones of a map were selected. I had it update on variable change, and the variable was changing based on the Select / Deselect states when the users clicks. It works great ... but needs quite some triggers !!
@Nedim : that's the solution I've gone for, more or less. Thanks !
@Phil Thanks for the precision. I didn't try to use the "not equal to" test, that could have saved the day ;) ... But your trick of a "calculator layer" is a very useful one, that will definitely come in handy in a next project. I think it might help getting the trigger count a bit down, and help with future maintenance (easier logic to understand for colleagues !!!).
Thanks a lot,