Problem template alias studio

Viewing 2 posts - 1 through 2 (of 2 total)
  • 21st January 2019 at 12:00 pm #17188

    Hello,

    We have a big problem with the template Alias studio, because the command is carried out in the bin folder of Alias Studio whereas for this to work it is necessary that the command is executed in the project folder.
    How to modify the template so that it is executed in the project folder ????

    21st January 2019 at 3:15 pm #17189

    the template can be modified adding a new folder selector:

    – ADD AFTER THE FOLLOWING LINE(39)
    aliasFile = MTemplateAPI.MTemplateItemFile(“ALIASFILENAME”,”Scene file”,”Specifies the Alias studio scene file to render”,””,0,1,1,”*.sdl;*.*”)

    the following

    aliasFolder = MTemplateAPI.MTemplateItemFolder(“ALIASPROJECT”,”Project path”,”Specified the project path to start the render from”. “”.0,1,1)

    – ADD AFTER THE FOLLOWING LINE (47)
    self.addSubmissionItem(aliasFile)

    the following

    self.addSubmissionItem(aliasFolder)

    THEN AT LINE 95 CHANGE TO:

    def onGetApplicationStartingFolder(self,job,chunk,clientTemplatePreferences,pathOut):
    pathOut.setString(job.attributeGetString(“ALIASPROJECT”))

    Be sure to select the Alias file or folder from a drive mapping, launching from a direct network location (\\server\\…) may not work…

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.