Pages:
Actions
  • #1 by Orzola on 24 May 2013
  • Can anyone help me with this please?  I've got a block containing several triggers - about seven I think.  The block is designed to work for only one selection.  At the moment I have a condition for every trigger in the block that the selection's ID is 1 (or whatever selection I'm betting on).  There are other conditions for each of the individual triggers.

    Is there a way to just check the selection ID once and then skip the block if it isn't the right one? 

    Thanks in advance.

  • #2 by mcbee on 24 May 2013
  • hi
    you can use the activate and deactivate trigger/block actions.
    activate block if the selections id is equal to xxxx
    deactivate block if the selections id is not equal to xxxx


    mcbee
  • #3 by MarkV on 24 May 2013
  • Hi
    same suggestion as mcbee
    All selection-specific blocks are deactivated by default.

    Trigger
    Activate trigger or block <selection block>
    Condition:
    Selection’s trigger expression sel_id is equal to <whatever selection I’m betting on>

    This method can also improve the efficiency of the trigger because every selection block does not need to be parsed.
  • #4 by Orzola on 24 May 2013
  • Hi and thanks.

    I started using activate and deactivate but the problem I encountered was that there was a delay when a block re-activated which actually slowed things down more than doing things the way I am now.

    I will give it some more thought.  Thanks for your help.
Pages:
Actions