Пример #1
0
def loadScenesForShotTool():
    shot = PillarsUtils.loadGotoAsset()
    proj = PillarsUtils.loadGotoProject()
    shot_dir = str(shot.location)
    proj_dir = str(proj.getFullPath())
    hbridge.loadScene(shot_dir, proj_dir)
    
    hou.ui.displayMessage("Load Scene Secessfull.")
    
Пример #2
0
 def loadFromGoto(self):
     self.project = PillarsUtils.loadGotoProject()
     self.asset = PillarsUtils.loadGotoAsset()
     self.task = PillarsUtils.loadGotoTask()
     self.author = PillarsUtils.loadGotoAuthor()
     if self.project and self.asset and self.task and self.author:
         self.toolbar.setInfo(self.project.name, self.asset.name, self.task.name, self.asset.location, self.task.location)
         self.toolbar.setLogName(self.author.name)
         
     self.assets = PillarsUtils.loadAssets()
     if self.assets:
         self.updateAssetViewer()
Пример #3
0
def gotoTool():
    project = PillarsUtils.loadGotoProject()
    if project:
        p_path = str(project.getFullPath())
        hou.hscript("job %s" % p_path)