Workflow integration: empty audio timelineItem property list

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

Nowadays

  • Posts: 11
  • Joined: Wed Dec 14, 2022 5:20 pm
  • Real Name: Giovanni Zuliani

Workflow integration: empty audio timelineItem property list

PostThu Dec 29, 2022 1:29 pm

Resolve 18.1.1 Build 7

I'm trying to get all the existing properties on an audio timeline item, like so:

Code: Select all
      const WI = require('./WorkflowIntegration.node')
      WI.Initialize('test')
      const resolve = WI.GetResolve()
      const projectManager = resolve.GetProjectManager()
      const currentProject = projectManager.GetCurrentProject()
      const currentTimeline = currentProject.GetCurrentTimeline()
      const timelineItemsInTrack = currentTimeline.GetItemListInTrack('audio', 1)
      const timelineItem = timelineItemsInTrack[0]
      console.log(timelineItem.GetProperty()) // <-- empty


Surprisingly this code returns an empty object. It works for video timeline items instead. Is this expected?

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 29 guests