Graphics

 View Only
  • 1.  Auto Update Renderviews?

    Posted 12-13-2017 21:41
    Hello,

    Is there a function/script that allows one to update the contents of a scene that contains a renderview, prior to take?

    I have scenes that rely on renderviews, that also have a lot of datalinqs. XPression will hang when playing these scenes on first playout, or playout and update midtake (which looks bad).
    I understand you can "Cue" a scene, which does what I'm asking. However, I was wondering if something like a "UpdateAllLinqs", QoL OnPreview script exists that would make things easier for our operators.



  • 2.  RE: Auto Update Renderviews?

    Posted 12-14-2017 02:46
    I believe that there is a line of script datalinq.refresh() that should do what you want. I'm not sure if this is exactly correct but I know it exists
    #XPression


  • 3.  RE: Auto Update Renderviews?

    Posted 12-15-2017 17:35
    You can try adding this script to your scene director(s). It will grab all the keys in the scene and perform the refresh. The debug message will kick them out to the status log - but you can remove that line.

    dim keys as xpDatalinqKeys
    dim key as xpDatalinqKey
    dim i as integer

    Scene.GetDatalinqKeys(keys)

    For i = 0 to keys.Count - 1
    keys.GetKey(i, key)
    Engine.DebugMessage(key.AsString, 0)
    Next i

    Scene.RefreshDatalinqs()
    #XPression