Graphics

 View Only
  • 1.  Using Visual Logic to move X Axis of Mask & Group

    Posted 06-17-2022 13:07
    Hey Xpression World!

    Looking for help with some visual logic. 
    This is a Hockey Shootout graphic I am trying to make, which I will eventually create a Dashboard grid to work with.
    Right now I have 12 rounds of the shootout already made as one object, but I have a MASK covering it.
    Also the "T" column is a seperate "Group" that needs to be moved as well.
    The objective is when the final score for JAX round 3 is filled out, the MASK & "T" Column will move 40px to the Right to reveal the next round.
    Then when JAX round 4 is filled out, they both move 40px to the right again....and so on.

    Let me know if you guys have any suggestions to accomplish this?
    Its somewhere along the lines of, when H3 Text field is filled out, MASK & T SCORE group move 40px to the RIGHT

    Thank you in advance.



    ------------------------------
    Tristan Morhous
    GEMSTONE MEDIA
    ------------------------------


  • 2.  RE: Using Visual Logic to move X Axis of Mask & Group

    Posted 06-17-2022 15:57
    UPDATE
    After doing some trial and error, this is the Logic I came up with to move the MASK.
    I am going to try to apply it to the T Score as well, but making progress.
    If you guys know of another solution, let me know!


    ------------------------------
    Tristan Morhous
    GEMSTONE MEDIA
    ------------------------------



  • 3.  RE: Using Visual Logic to move X Axis of Mask & Group

    Posted 06-17-2022 16:40
    Okay so I started creating more TABS with the same Logic just changing the H"#" and the Values.

    What I am running into now is that the Position.X on both the MASK & T Score Group are staying put and not reseting back to original state "If Empty"

    See pictures for reference

    Any suggestions?



    ------------------------------
    Tristan Morhous
    GEMSTONE MEDIA
    ------------------------------



  • 4.  RE: Using Visual Logic to move X Axis of Mask & Group

    Posted 06-18-2022 03:58
      |   view attached
    Hi!
    You need to check if the text has content (invert "empty"), check (Or) if any team has text on the same column (if you have text, the output will be 1), add/sum all the resouls, multiply it by 40 (your distance between cells) and add (Offset) to your original mask or total position.

    Have FUN!

    ------------------------------
    Gabriel Rosca
    Bucharest, Romania
    ------------------------------