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
def write(self, in_out=None): return asset_prefs.name(self.asset, in_out).write()
def set_range(self, range): return asset_prefs.name(self.asset).set_frame_range(range)
def set_postroll(self, postroll): return asset_prefs.name(self.asset).set_postroll(postroll)
def postroll(self): return asset_prefs.name(self.asset).get_postroll()
def range(self): return asset_prefs.name(self.asset).get_frame_range()
def date(self): return asset_prefs.name(self.asset).get_creation_date()
def user(self): return asset_prefs.name(self.asset).get_creation_user()
def events(self): return asset_prefs.name(self.asset).get_events()
def add_event(self, id): asset_prefs.name(self.asset).add_event(id)