I’d like to access templates within the engine context (in this case Nuke) before it launches.
However whenever I use self.parent.sgtk.templates['some_template'] it always comes up as None.
Is there some way to access project templates within the app context?
If that doesn’t help feel free to drop us a support ticket and include a copy of your config and the actual template you are trying to access so we can take a closer look.
Hi All,
Sorry. I got sidetracked. I did test this again with the above code but I got nothing. (this was for nuke). I was trying to define a before_app_launch hook for maya but I haven’t had a chance to finish.
I’ll try it out today or Monday and get back to you.
Hello – Yeah, if you can zip up the config/ folder in your pipeline configuration and attach it to the ticket you submit, that lets us take a look and see if there’s anything set up incorrectly that might be leading to what you’re seeing.