General

General

Is there a way to get the volume of a register using expression ?

    • FAQFAQ
      Participant

      Cell registers are available as Booleans in the expression system. Simply calculate the sum over the register with an if-condition. Sum(IF(, 1, 0), [], Weight=”Volume”) is the name of the cell register and is the list of cell zones. If the name of the register is “myregister” and the affected cell zones “fluid1” and “fluid2″ the expression is: Sum(IF(myregister, 1, 0), [‘fluid1’, ‘fluid2’], Weight=”Volume”)