I’m trying to unregister folders from an event driven script.
I found an excellent example of something very similar to what I was trying to do here:
I’ve read the documentation for the Core Sgtk commands, but still don’t quite understand. In the above example in the call to “get_command” there is an argument passed called “tk”
My research indicates that “tk” is a API handle, and this API handle can be obtained in this manner:
tk = sgtk.sgtk_from_path("/studio/project_root")
What is the path in this line pointing to?