Graphics

 View Only
  • 1.  Trigger a scene online from another scene

    Posted 03-24-2025 08:20

    Is it possible to trigger a scene online from another scene?
    I've tried using the normal trigger and a script I found here on the forum, but they seem to require that the scene is already online. 

    Since we're using an automation tool and a MOS-workflow, I do not know the take IDs at any given time, so I would like to trigger the template itself.



    ------------------------------
    Chris Nicolay Wernersen
    ------------------------------


  • 2.  RE: Trigger a scene online from another scene

    Posted 03-24-2025 08:37

    This script works, but when the script executes the animation freezes for a couple of seconds in the scene that contains the script.

    dim template as xpScene
    engine.GetSceneByName("Name", template)
    template.SetOnline(0, 0, 0)



    ------------------------------
    Chris Nicolay Wernersen
    ------------------------------



  • 3.  RE: Trigger a scene online from another scene

    Posted 03-24-2025 09:37

    Yeah this is the behaviour I get, could you have the scene online all the time and hide / show the layer instead? 

    dim fb as xpOutputFrameBuffer

     

    engine.GetOutputFrameBuffer(0, fb)

     

    fb.SetLayerVisible(0, false)



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 4.  RE: Trigger a scene online from another scene

    Posted 03-25-2025 14:02

    Are you using the HTML5 or ActiveX XPression MOS plugin? 
    Do you know you can assign static IDs to MOS graphics? 




  • 5.  RE: Trigger a scene online from another scene

    Posted 03-26-2025 04:47

    I will try that, at least the engine does not freeze doing it this way.

    Thanks!



    ------------------------------
    Chris Nicolay Wernersen
    ------------------------------