Graphics

 View Only
  • 1.  Event Script Triggers On Export - Resolved

    Posted 01-03-2020 21:28

    I want to export graphics from my sequence to PNG. Currently, when I export my graphics none of the OnEvent scripts that I use to position my text fire.

    Is this is as simple as copying/moving my scripts to a new trigger? Do I need to do something else? I'm trying to avoid making my code any messier than it already is.

    Thanks for the help.



  • 2.  RE: Event Script Triggers On Export - Resolved

    Posted 01-06-2020 14:18

    It needs to be in the OnExport script event.  The OnOnline does not execute (because an Export is not considered taking the graphic Online, likewise OnPreview does not execute either).  In older versions OnPreview did get used, but that prevented people from having the OnPreview do specific things like enable objects that should only be seen in preview (like a slate for example).  


    #XPression


  • 3.  RE: Event Script Triggers On Export - Resolved

    Posted 01-07-2020 20:37

    Thanks Brian, this makes sense.

    I have two more questions about exporting images.

    1) Is it possible to have the file names be based on the content of the sequence item rather than the name. The default graphic name is identical to the scene - so it took me a sec to realize my exports were overwriting each other until I went through and renamed each item by manually typing the information visible in the next column over.

    2) Is it possible to set every export item to be "single frame" at once? I had to go through and check the box for each item. I had to export about 40 graphics and it was mildly annoying...


    #XPression


  • 4.  RE: Event Script Triggers On Export - Resolved

    Posted 01-08-2020 00:07

    Hi Nathan, not sure about #1; I always name items (in the name column) as I build; which will carry over to Export.

     

    As for #2; not sure what version you are using, I'm on 6.5 and higher, but I will select all (Still Image) items in my sequencer, then set the "play range" from 0 to 0 (or whatever frame you need).  Then when I export to "Still Image" the "Single Frame" should already be checked marked.  I learned this because I was always having to export about 70 credits pages as stills frames...

     

    Hope this helps...


    #XPression


  • 5.  RE: Event Script Triggers On Export - Resolved

    Posted 01-08-2020 00:42

    Thanks Steve. I have a few thousand items in my sequence at this point, but I guess that option works if it's not ideal.

    I'm on 9.0, and I don't think I'm following your suggestion for #2. I don't understand how to set the play range for a selection of items in the sequencer.


    #XPression


  • 6.  RE: Event Script Triggers On Export - Resolved

    Posted 01-08-2020 16:48

    Hi Nathan, I don't have 9.0 but this should work...  as for #2...

    On the sequencer side, select the item(s) you want to export.  In the Take Inspector, select the "Scene Control" tab.  In the bottom left there should be the "Play Range" option.  Select it, then set the Frame range (in most cases 0 to 0) to what you need.  Then when you Export, the "Single Frame" should already be checked marked.

     

    Cheers

    Steve


    #XPression


  • 7.  RE: Event Script Triggers On Export - Resolved

    Posted 01-15-2020 13:18

    Hey Steve,

    Thanks for taking the time to walk me through this. I was able to get that working. You saved me a ton of time clicking boxes in the future!


    #XPression