Coder Social home page Coder Social logo

Comments (4)

markreidvfx avatar markreidvfx commented on May 29, 2024

sorry for the late reply, any TaggedValue that is added to a MasterMob['UserComments'] will show in MC bins. TaggedValue.name will be the column and its value will be the value.

I'm not sure how your creating you Mobs, but the tape name is the Name of the SourceMob in the chain that has a TapeDescriptor on it. If you change its Mob.name it will change the tape name.

from pyaaf2.

kevinparkbss avatar kevinparkbss commented on May 29, 2024

Thanks mark! the TaggedValue added to a MasterMob['UserComments'] works great. One follow up question though. I want to be able to set the color column of a clip, meaning the color box that shows up next to the name and in the timeline in Avid MC. I believe that this is a TaggedValue as well but in the MobAttributeList as opposed to user comments. When I open an aaf with colored clips in the tree model, I see that _COLOR_R, _COLOR_G, and _COLOR_B values are set. Do you know how I can set these values in MobAttributeList using pyaaf?

from pyaaf2.

markreidvfx avatar markreidvfx commented on May 29, 2024

you should be able to do the same way as the UserComments

tag = f.create.TaggedValue("_COLOR_R",  49664) #think this is 16bit color value
mob['MobAttributeList'].append(tag)

from pyaaf2.

kevinparkbss avatar kevinparkbss commented on May 29, 2024

Thanks Mark! I don't know why but when I had tried that initially, it didn't work but I just tried it again and it works great! I think perhaps I didn't have valid RGB values. Or maybe I was testing by giving just one of the values. In any case, it works and it's like magic :)

from pyaaf2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.