Skip to main content
Inspiring
July 9, 2023
Answered

Is it possible to update the viewer of the current composition?

  • July 9, 2023
  • 1 reply
  • 295 views

Hi all.

There is such a command

app.project.activeItem.saveFrameToPng(time, File(string))

In my case, the state of the current viewer of the composition is envy of the state of another composition. And due to the included effects, the viewer of the current composition does not have time to update before saving the file. And instead of an image I get a black screen.

 

Is it possible to update the viewer of the current composition?

 

This topic has been closed for replies.
Correct answer Mylenium

In scripts you don't have any control over those things other then enforcing a global refresh. The AEGP should handle it automatically, especially after file operations, so this kind of sounds like a bug.

 

Mylenium

1 reply

Mylenium
MyleniumCorrect answer
Legend
July 9, 2023

In scripts you don't have any control over those things other then enforcing a global refresh. The AEGP should handle it automatically, especially after file operations, so this kind of sounds like a bug.

 

Mylenium