Distributed config

Hello,

When using a distributed Toolkit config uploaded to SG as a zip file, the contents are downloaded to:

…/Roaming/Shotgun/bundle_cache/sg/{site}/v######/.

Is there a Python command in sgtk to get the value of this config location on disk? Because the v###### is the entity ID of the uploaded config, I do not want to hard code this value as it changes with each upload.

2 Likes

This might help?

The question is a bit different but I provided a way of checking the path.

2 Likes

This worked perfect, thanks!

import sgtk
engine = sgtk.platform.current_engine()
engine.sgtk.configuration_descriptor.get_path()
2 Likes