timeline.GetSetting('timelineFrameRate') possibly incorrect

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

ambustion

  • Posts: 24
  • Joined: Mon Jun 24, 2019 4:36 pm
  • Real Name: Brendon Rathbone

timeline.GetSetting('timelineFrameRate') possibly incorrect

PostTue Aug 02, 2022 9:21 pm

Are there any other developers working on scripting Resolve noticing that the timeline.GetSetting('timelineFrameRate') is reporting incorrect values for 23.976 on the 18.0.1 version of resolve? I am getting a value of 23 returned instead of 23.976 and not sure if this is shorthand for 23.976 or if I possibly have other things going on.
Offline
User avatar

ryanfrancesconi

  • Posts: 6
  • Joined: Fri Sep 30, 2022 3:28 pm
  • Real Name: Ryan Francesconi

Re: timeline.GetSetting('timelineFrameRate') possibly incorr

PostMon Oct 03, 2022 12:06 am

try GetSetting() from project, not timeline. I saw it was numeric and incorrect as well.

Code: Select all
    const frameRate = projectManager.GetCurrentProject().GetSetting("timelineFrameRate");
    const drop = projectManager.GetCurrentProject().GetSetting("timelineDropFrameTimecode")

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 20 guests