Skip to main content
Participant
October 28, 2024
Question

Reload the Shelf via Python API

  • October 28, 2024
  • 0 replies
  • 109 views
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 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.
This topic has been closed for replies.