Example #1
0
 def folder(self):
     if self.asset.category and \
             not self.asset.name:
         folder = asset_prefs.category(self.asset).path
     elif self.asset.name and \
             not self.asset.stage:
         folder = asset_prefs.name(self.asset).path
     else:
         folder = asset_prefs.variant(self.asset).path
     return folder
Example #2
0
 def write(self, in_out=None):
     return asset_prefs.name(self.asset, in_out).write()
Example #3
0
 def set_range(self, range):
     return asset_prefs.name(self.asset).set_frame_range(range)
Example #4
0
 def set_postroll(self, postroll):
     return asset_prefs.name(self.asset).set_postroll(postroll)
Example #5
0
 def postroll(self):
     return asset_prefs.name(self.asset).get_postroll()
Example #6
0
 def range(self):
     return asset_prefs.name(self.asset).get_frame_range()
Example #7
0
 def date(self):
     return asset_prefs.name(self.asset).get_creation_date()
Example #8
0
 def user(self):
     return asset_prefs.name(self.asset).get_creation_user()
Example #9
0
 def events(self):
     return asset_prefs.name(self.asset).get_events()
Example #10
0
 def add_event(self, id):
     asset_prefs.name(self.asset).add_event(id)