Graphics

 View Only
Expand all | Collapse all

Issues with preview text script

  • 1.  Issues with preview text script

    Posted 01-28-2019 17:11

    Hello all. I'm pretty new to Xpression and this community. I've searched to find a solution for my issue, but I was somewhat confused with some of the results I found.

    Everything is manual at my station, so our directors rely heavily on preview text for graphics that start in black. In every instance for more than a year, we've used the script below, it has worked... until now. We received a couple of new packages from our corporate design center. Package 1 mostly contains native Xpression elements that I was able to implement the script successfully on. Package 2, on the other hand, relies heavily on video elements for graphics such as lower thirds; this package is giving me issues with this script. The issue we're facing is that the preview text is appearing on-air, instead of disappearing. All video element have alphas in the appropriate areas.

    The only thing I can assume causing the issue would be the difference between native and non-native video elements. I've applied a mask on the video element to see if that would correct the issue, but the preview text remains.

    This is the script I've been using that has worked everywhere until now:

    Dim PrevText as xpTextObject

    Scene.GetObjectByName("Name of Preview Layer", PrevText)
    PrevText.Text = Text

    Is anyone able to provide any guidance? Please let me know if additional information is needed.



  • 2.  RE: Issues with preview text script

    Posted 01-28-2019 17:16
    There is probably a much easier way to do this if you are on a fairly new version of XPression.
    Create a Layer Object and go > Layer Object > Object Inspector > Rendering Tab > Preview > Checkmark 'Render in Preview Only'.
    Now if you have any objects in that layer object they will only appear in preview renders.

    #XPression


  • 3.  RE: Issues with preview text script

    Posted 01-28-2019 17:27
    Thank you for the quick response. I'll give that a try.
    #XPression


  • 4.  RE: Issues with preview text script

    Posted 01-28-2019 17:35
    This was added in XPression 6.2 beta, so if you are running 6.5 you should have this!
    #XPression


  • 5.  RE: Issues with preview text script

    Posted 01-28-2019 18:12

    I gave this a try and realized I should have clarified a bit further.

    Enabling 'Render in Preview Only' allows the element to be viewed in the ENPS plugin and within preview in Remote Sequencer, it does not enable to element to be viewed on our preview monitors. We provide the preview text in our preview monitors to allow our director to know the graphic has been cued up before it's played on-air. I've attached a couple of images of working preview text vs non-working.

    The graphic with the white lower third has working preview text. As you can see in the smaller preview monitor, the preview text appears above the played out graphic; however, the preview text is absent in the larger air monitor.

    In the second image, the preview text is not working correctly and appears in both preview and on-air.

    My script has been applied in the same manner within both projects.

    Also, we're running Xpression 8.0.


    #XPression


  • 6.  RE: Issues with preview text script

    Posted 01-28-2019 19:32
    Do your new templates (in package 2) have the text object called "PrevText" in them? Is there a script on that text object?
    #XPression


  • 7.  RE: Issues with preview text script

    Posted 01-28-2019 20:01
    The script for the main text layer (Tab) references the preview line (Tab Line Preview). There is not a script for the preview line.
    #XPression


  • 8.  RE: Issues with preview text script

    Posted 01-28-2019 20:06

    What script/visual logic turns the visibility of the Tab Line Preview text object off when it's online in package 1?

    Whatever is doing that must be missing from your Package 2.


    #XPression


  • 9.  RE: Issues with preview text script

    Posted 01-28-2019 20:54
    We've used this script multiples over with success and the visual logic is IsEmpty > Not > Visible in both instances. This is also affecting all preview text layers of project 2, not just the example I provided.
    #XPression


  • 10.  RE: Issues with preview text script

    Posted 01-28-2019 21:07
    I think we'd need a copy of the scene to investigate at this point. I don't see anyway that the scene having more video elements would effect this.
    #XPression


  • 11.  RE: Issues with preview text script

    Posted 01-28-2019 21:35
    Would you like me to send it to the support email?
    #XPression


  • 12.  RE: Issues with preview text script

    Posted 01-28-2019 21:37
    Sure!
    #XPression


  • 13.  RE: Issues with preview text script

    Posted 01-29-2019 00:21
    @garner I got this. It was a hacky solution to a dumb problem. Fixed!
    #XPression


  • 14.  RE: Issues with preview text script

    Posted 01-29-2019 20:08
    Thanks for your help, guys!
    #XPression