Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Engaged ,
Jul 09, 2023 Jul 09, 2023

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?

 

TOPICS
Scripting
250
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jul 09, 2023 Jul 09, 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

Translate
LEGEND ,
Jul 09, 2023 Jul 09, 2023
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines