コード例 #1
0
ファイル: test_file_io.py プロジェクト: markreidvfx/pyaaf
    def test_comp_mobs(self):

        test_file = main_test_file

        f = aaf.open(test_file)

        header = f.header

        dictionary = f.dictionary
        storage = f.storage

        #print storage.count_mobs()

        for mob in storage.composition_mobs():
            print(mob)
コード例 #2
0
ファイル: test_file_io.py プロジェクト: westernx/pyaaf
    def test_comp_mobs(self):

        test_file = main_test_file

        f = aaf.open(test_file)

        header = f.header

        dictionary = f.dictionary
        storage = f.storage

        #print storage.count_mobs()

        for mob in storage.composition_mobs():
            print mob
コード例 #3
0
ファイル: qt_aafmodel.py プロジェクト: wjt/pyaaf
    (options, args) = parser.parse_args()

    if not args:
        parser.error("not enough arguments")

    file_path = args[0]

    f = aaf.open(file_path)

    #root = axfile
    header = f.header
    storage = f.storage
    root = storage
    if options.compmobs:
        root = list(storage.composition_mobs())

    if options.mastermobs:
        root = list(storage.master_mobs())

    #if options.sourcemobs:
    # root = list(storage.GetSourceMobs())

    if options.dictionary:
        root = f.dictionary

    if options.all:
        root = f
    #print mobs

    app = QtGui.QApplication(sys.argv)
コード例 #4
0
ファイル: qt_aafmodel.py プロジェクト: wjt/pyaaf
    
    (options, args) = parser.parse_args()
    
    if not args:
        parser.error("not enough arguments")
        
    file_path = args[0]
    
    f = aaf.open(file_path)
        
        #root = axfile
    header = f.header
    storage = f.storage
    root = storage
    if options.compmobs:
        root = list(storage.composition_mobs())
        
    if options.mastermobs:
        root = list(storage.master_mobs())
        
    #if options.sourcemobs:
       # root = list(storage.GetSourceMobs())
        
    if options.dictionary:
        root = f.dictionary
        
    if options.all:
        root = f
    #print mobs

    app = QtGui.QApplication(sys.argv)