Jump to content


Photo

Set Global Range Script


  • Please log in to reply
No replies to this topic

#1 Miaz3

Miaz3

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 77 posts

Posted 25 November 2015 - 03:55 PM

hello, i search how can it be possible to fit timeline & Framerange via TimeSpeed in script?

 

I used this snippet for a while (on vfxPedia) :

iGlobalIn = loader1.GlobalIn[CurrentTime]
iGlobalOut = loader1.GlobalOut[CurrentTime]

composition:SetAttrs({COMPN_GlobalStart = iGlobalIn})
composition:SetAttrs({COMPN_GlobalEnd = iGlobalOut})
composition:SetAttrs({COMPN_RenderStart = iGlobalIn})
composition:SetAttrs({COMPN_RenderEnd = iGlobalOut})

But it fit GlobalIn & GlobalOut of Loader1, and i want to fit GlobalStart/End of the TimeSpeed connected after the Loader1 (not the same FrameRate) . After searching attributes, ReG_ID ect...I did not find globalIn , or at least any kind information of GlobalStart or Globalend on TimeSpeed Classe or attribute.

 

I've ou got an idea,  ?

 

thx






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users