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

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

Engaged ,
Jul 09, 2023 Jul 09, 2023

Copy link to clipboard

Copied

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

Views

181

Translate

Translate

Report

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

Votes

Translate

Translate
LEGEND ,
Jul 09, 2023 Jul 09, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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