IMPORTANT UPDATE! May 12 13, 2026



Tomorrow Today Last Wednesday, on the 13th of May, the manual Patrons group (the one that gives you your green username AND access to dedicated Patrons spaces on WSL) will be has been DELETED.

This means that your access to those spaces will be has been revoked until you connect your Patreon account to WSL using the link below, which will give you access to the NEW, future-proof Patrons+++ group.

With the imminent release of ZEPPO BETA 2 - tentatively planned for released Friday today yesterday (!!) - I wouldn't dawdle... with Beta 2 (i.e. all my late nights in the past month), Zeppo has become something truly special, battle-tested and multi-user hardened in an actual production.

Yes, there will be a Reactor release eventually, and no, it won't have all the bells and whistles - those are for Patrons, because they are the ones keeping WSL afloat, which is still only barely these days...

I'd better get back to prepping that done did release then!

Thank you,

Pieter


comp.Paste doesn't update the clipboard and continues using the old comp. Also, it doesn't work in the edit tab.

User avatar
OrdisRaswell
Posts: 33
Joined: 2 years ago
Reactions score: 0

comp.Paste doesn't update the clipboard and continues using the old comp. Also, it doesn't work in the edit tab.

#1

Unread post by OrdisRaswell »

For the following code, if I change the macroFilePath, it doesn't use the current one but the old one. For example, if in the first execution I use C:\Users\user\Downloads\comp 1.txt, and in the second execution I use C:\Users\user\Downloads\comp 2.txt, then the pasted file will be the first one instead of the updated second one; it's as if the resolver clipboard isn't updating.

Code: Select all

resolve = bmd.scriptapp('Resolve')
fusion = resolve.Fusion()
projectManager = resolve.GetProjectManager()
project = projectManager.GetCurrentProject()
timeline = project.GetCurrentTimeline()
itemList = timeline.GetItemListInTrack('video', 1)
timelineItem = itemList[0]  # O índice começa em 0
comp = timelineItem.GetFusionCompByIndex(1.0)

macroFilePath = r'C:\Users\lclbl\Downloads\comp 1.txt'

compSettings = bmd.readfile(macroFilePath)

comp.Paste(compSettings)  

Furthermore, if you run the code and don't open the composition in Fusion (i.e., run it directly in the edit tab), it returns "AttributeError: 'NoneType' object has no attribute 'Paste'".


User avatar
AndrewHazelden
Fusius Of Borg
Posts: 2907
Joined: 11 years ago
Reactions score: 279
Location: West Dover, Nova Scotia, Canada
Has thanked: 72 times
Been thanked: 170 times

Re: comp.Paste doesn't update the clipboard and continues using the old comp. Also, it doesn't work in the edit tab.

#2

Unread post by AndrewHazelden »

I haven't explored this sort of process much. But you mighty try forcing the Resolve page to switch to the Fusion page, just after you run the comp = timelineItem.GetFusionCompByIndex(1.0) line of code?