markreidvfx / pyavb

Read and write Avid Bin FIles (AVB) files
https://pyavb.readthedocs.io
MIT License
58 stars 4 forks source link

Is it possible to use PyAvb to duplicate an Avid Script file (.avc) and change the mob id? #29

Open communque opened 2 months ago

communque commented 2 months ago

Basically I'd like to do the equivalent of the following but for an .avc (Avid script) file as opposed to .avb (Avid bin)

with avb.open(SourcePathToScript) as f:
    f.content.uid = avb.utils.generate_uid()
    f.write(PathToDuplicatedScript)