Get Project name in configuration yaml


This might be a rookie question, but is there a way to insert Project name into a yaml config file?
In tk-multi-launchapp.yml I’d like to pass this information to a python hook.
Or is there a way to get the project name from the python hook itself?

You could just use the current context and get the project name?

from inside a hook its usually something like this:

project_name = self.parent.context.project["name"]

Thanks! This is exactly what I needed! :smiley:

1 Like