Graphics

 View Only
  • 1.  Follow Scripts + Datalinq Key ; inconsistent

    Posted 02-24-2014 18:30
    Hey yall,

    I am having an issue with my spacing consistency when i bring my scene to sequencer. My scene is a lower third with 8 datalinq fields. I am using a datalinq key to help me link the desired fields. I also have 4 follow spacing scripts working in the scene on the textobject level. Unfortunately, when i bring the scene to sequencer, the spacing becomes inconsistent. Sometimes it will look fine in preview, but when taken, the spacing goes way off. Sometimes it looks wrong in preview, but when taken, looks fine. Sometimes simply tabbing from page to page can change the spacing.

    Any ideas? Am I doing too much? Will a scene level script help? Has this been addressed in a newer version? I'm currently running 5.1 2525.

    Thanks a bunch,

    Ross Buffington


  • 2.  RE: Follow Scripts + Datalinq Key ; inconsistent

    Posted 02-24-2014 18:35
    Hi Ross,

    It's pretty difficult to answer this without seeing the scene and scripting..

    One common mistake people make is that in the OnSetText script they often try to read a different text object to obtain it's length etc.. This often leads to inconsistent results because that text object they are reading may or may not have received it's new data yet. Each text object is updated independently and OnSetText is called independently for each and you can't really guarantee which order the text objects will be updated in. So, if inside OnSetText you are doing anything that does a GetObjectByName for a different text object then you'll likely have problems.

    In this case it should all be handled in the Scene's OnOnline script which will run after all of the text objects have been updated with their new text.

    #XPression


  • 3.  RE: Follow Scripts + Datalinq Key ; inconsistent

    Posted 02-24-2014 20:29
    That makes complete sense, and works great!

    Thank you Brian

    #XPression