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?