FR (API): Prevent UI Refresh functions

  • Author
  • Message
Offline
User avatar

X-Raym

  • Posts: 153
  • Joined: Thu Apr 18, 2013 4:05 pm
  • Location: France
  • Real Name: Raymond Radet

FR (API): Prevent UI Refresh functions

PostMon Jan 24, 2022 12:25 pm

Hi,

With Resolve script API, coloring tons of items also takes a lot of time because of UI refreshing (you can see each items colored one by one, instead of the whole set of chosen items colored in one instant).

A PreventUIRefresh functions would be very much appreciated cause it could make such scripts way faster.

in REAPER script API you can do PreventUIRefresh(1) to stop refresh and -1 to restore it. Note that it also has some internal code so that if the script break or end for whatever reason without explicit RefreshUI reactivation, it does this on its on. We never know :P

Best,
My DaVinci Resolve Scripts: https://github.com/X-Raym/DaVinci-Resolve-Scripts
My Resolve Scripting API Doc: https://www.extremraym.com/en/resolve-api-doc-release/
Donation: https://paypal.me/extremraym

Return to DaVinci Resolve Feature Requests

Who is online

Users browsing this forum: No registered users and 27 guests