How to get the disk location of a tk-app?

Hey everyone,

I am writing a custom collector for the tk-multi-publish2 app.
I am storing some custom icons in the tk-multi-publish2 app repository for some file formats we need.

How can I get a path to the currently active tk-multi-publish2 app inside of my collector code?

I am looking for something like:


Does this exist?

All the best

You can use .disk_location in the app (tk-multi-publish2) to get the disk location. applications

or in a hook like your collector you could self.parent.engine.disk_location

1 Like

Thanks self.parent.disk_location in the collector did the trick!