Layer not triggering

Feb 21, 2017

Hello all

In the attached sample, slide 1.1 works perfectly.  After inputting requested data and the calculate button is clicked, a new layer should appear.  If the calculation exceeds a certain amount and the slider is in position 1 or 3, then the "Propane" or "Natural" layer should appear.

Please help me find the error on slide 1.2.  To test... mover slider left or right to activate calculate button.  Click "yes" for 90 and 45 elbows and input 4 for each.  For the third number field at the bottom, input 40 then calculate.  This will give a value of 70 which should trigger either the Natural or Propane layer as this value exceeds both of their requirements.

Thank you in advance

Terry

3 Replies
Walt Hamilton

Terry,

I haven't looked at the calculation yet, but I can help with the triggers:

  

If Button 1 has a state named "Selected", it will have a built-in trigger that will change its state to "Selected" when you click. Creating your own trigger to do this will cause conflicts that may lead to undesirable results.

If you select both button 1 and button 2 and right-click them, you can make them a button set. This invokes the built-in triggers that set one to "Selected", and all the others in the set to "Normal" when one of them is clicked.

Walt Hamilton

Slide 1 works, because the Propane and Natural layers are at the bottom of the trigger list. Here's why slide 2 doesn't:

 

 

If slider3 = 1, and Equiv_Total = 70, this condition is true and the Natural layer is shown. Before your monitor can display it, the next trigger executes.

Equiv_Total = 70 (still), which is greater than 21 and Numberof90s almost certainly is greater than or = to 0, so this condition is also true, and the Long Vent layer is shown. It stays on the screen, and is the one you see.

If you are a programmer, realize that a series of triggers has no else clause, and they are all independent contractors, so they are all executed, even of one in the list is true.

This discussion is closed. You can start a new discussion or contact Articulate Support.