Question
Reload the Shelf via Python API
Hello 🙂
I am trying to reload the shelf after updating it via version control with: Shelves.refresh_all(). While this will add any new files to the shelf, it will not remove deleted ones or update the ones that were changed. Is this desired behaviour? And if so is there any way to properly reload the library?
I am trying to reload the shelf after updating it via version control with: Shelves.refresh_all(). While this will add any new files to the shelf, it will not remove deleted ones or update the ones that were changed. Is this desired behaviour? And if so is there any way to properly reload the library?
I am currently working around this by: saving the project, closing it, removing the shelf, adding the shelf again and reopening the project. This can all be done via python, but forces the user to save their work before updating the library.
