Jump to: Board index » General » Fusion

Built-in variables for first and last frame numbers

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

eniva100

  • Posts: 15
  • Joined: Mon Dec 17, 2018 7:33 pm
  • Real Name: Enrique Nivasch

Built-in variables for first and last frame numbers

PostMon Dec 23, 2019 9:36 pm

Hello,

I am looking for the built-in variable for Fusion expressions that returns the number for the first frame in the composition and the variable that returns the last frame number.

My understanding is that the built-in variable time will go from the first frame number to the last frame number as the playhead moves.


Thanks,
Enrique
Offline

xunile

  • Posts: 1577
  • Joined: Mon Apr 23, 2018 5:21 am
  • Real Name: Eric Eisenmann

Re: Built-in variables for first and last frame numbers

PostTue Dec 24, 2019 12:59 am

eniva100 wrote:Hello,

I am looking for the built-in variable for Fusion expressions that returns the number for the first frame in the composition and the variable that returns the last frame number.

My understanding is that the built-in variable time will go from the first frame number to the last frame number as the playhead moves.


Thanks,
Enrique


You can try MediaIn1.ClipTimeStart and MediaIn1.ClipTimeEnd. Of course, the MediaIn number would be set to your MediaIn. You can also try GlobalIn and GlobalOut.
Win 10 Home
Intel Core I7-7700HQ 32 GB 1 TB NVME SSD 1 TB SATA SSD
GTX-1060-6GB
Resolve 17 b3
Offline

eniva100

  • Posts: 15
  • Joined: Mon Dec 17, 2018 7:33 pm
  • Real Name: Enrique Nivasch

Re: Built-in variables for first and last frame numbers

PostTue Dec 24, 2019 7:31 am

It works.

I think the GlobalIn GlobalOut option is better since it will also work when you create a Fusion Composition on the Edit page by dragging from the Effects library and therefore there is no MediaIn node.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 11 guests