Skip to content
Benjamin Nelson DeMann edited this page Aug 24, 2017 · 4 revisions

byuam module

The byuam (byu asset management) module describes the infrastructure of a film project through object-oriented programming. The Project object is composed of any number of Body objects. Body objects are either Assets, Tools, or Shots. Bodies are composed of any number of Element objects. Elements represent the actual application/cache files that artists create. Elements belong to a department, i.e. layout, rigging, lighting, etc. These relationships provide a simple interface for editing metadata and performing common asset management operations:

proj = Project()
body = proj.get_shot('a01')
elem = body.get_element(Department.LAYOUT)
elem.update_status(Status.DONE) # update the element status to done
checkout_users = elem.list_checkout_users() # return a list of all users who have checked out this element