Graphics

 View Only
  • 1.  Access visibility through DataLinq with DashBoard

    Posted 12-06-2017 12:18
    Hi there!

    Ran into yet another issue here while making some graphics for the local sports team.
    I want to be able to show/hide (vislibility toggle) an entire group of elements in Xpression in a quick way...

    Now... I know I can go through Template Links -> Publish Objects and then check off "Visibility" to be able to change this in the sequencer.
    That just works as a charm. However I really wish to be able to make a toggle button/parameter in DashBoard to turn on/off a group of elements in a scene. I know how to send/recieve data from DashBoard through to Xpression and our Carbonite. And I would sayI am above avareage when it comes to this now... But I just cant find a way to tie visibility into DataLinq?

    Preferably just be able to tie "visibility" in a group together with a toggle in DashBoard. Not just a layer with something in it. I could also just control the Alpha of that layer as well if that is accesible and just set that from 0-100 as well...

    Anyone?


  • 2.  RE: Access visibility through DataLinq with DashBoard

    Posted 12-07-2017 09:46

    Hey, you'll want to use visual logic. Send a 0/1 from a dashboard button to a datalinq block in XPression connected the visibility of what you want to turn the visibility on / off. Photo 1.

    If you want to control 2 groups you can use a "not block" this will alternate between groups. Photo 2.

    If you want to control multiple groups you can use the following method however you need to send a range of values from dashboard 1 -6. Photo 3.

    In the next version of XPression, the above will be easier with a new block called "output selector". Photo 4.


    #XPression


  • 3.  RE: Access visibility through DataLinq with DashBoard

    Posted 12-07-2017 13:38
    Lookie there!!!

    I havent looked at Xpression and Visual Logic yet! But this opens up even more opertunities! Thank you! :D
    #XPression


  • 4.  RE: Access visibility through DataLinq with DashBoard

    Posted 12-11-2017 10:19
    @redmile Hmmm... This works. And the visual logic isnt all that hard to wrap my head around (though I prefer coding myself mostly).
    I have one problem though... The DataLinq node in visual logic isnt updating...

    I have a setup that is EXACTLY as your picture #1 above, and it "works". When I set it up, I link it up with DataLinq, and the value is set to 0 (off) it hides the object.... However, when I then push "on" in DashBoard and try to send the value 1, it doesnt show back up. If I remove the DataLinq node and insert a new one, the object/group now shows up again as it should.
    So it seems that Xpression wont do a "live update" on the visual logic stuff. However if I try to grab the 0-1 value just as text and update a text object, it reflects the connection to DataLinq just fine...

    Any ideas?
    #XPression


  • 5.  RE: Access visibility through DataLinq with DashBoard

    Posted 12-11-2017 10:30
    @redmile So! I had a friend of mine that has more experience with Xpression just come up with a sollution for me... As he too has experienced this problem/bug before. The workaround he has used has been to do the following:

    • Create a group in the scene called "DataLinq Data", and basically put x-number of text objects into this containing the different datalinq values. Then hide this group.
    • In visual logic, instead of grabbing the DataLinq node and get the value through that. Rather use the text-value from the corresponding layer that contains the value you're after to toggle the visibility. It now updates as it should.
    In that regards, I would like to report a bug in XPression where the DataLinq node in visual logic does not update live.

    Xpression & DataLinq v6.5 build 3672
    #XPression