-
-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autosave #1692
base: develop
Are you sure you want to change the base?
Autosave #1692
Conversation
…selection is changed to nothing. other values considered include 0, which selects the project phase information, which i don't believe is supposed to be selectable, and may cause more confusion than it's worth.
…e to create pattern
This is incredible. Thank you! |
Noticing it included two commits on my rebase that are unrelated to this feature--f092548 and 5faf951 that can be removed. |
@alexdaversa in here https://github.com/eirannejad/pyRevit/blob/develop-4/extensions/extensions.json |
@jmcouffin I'd be happy to provide this feature as an extension although it will take me some time as I have become busy with other personal commitments. I would also be interested to learn from the greater team what about this tool is causing hesitancy to bring into the base install. I am open to modifying the functionality of the tool based on this feedback to improve it. |
Mostly:
I could help with that if you just create a public repo and allow me to PR |
@alexdaversa it is being used https://discourse.pyrevitlabs.io/t/threading-autosave/7757 🍾 |
@jmcouffin I am finally getting around to creating the extension! Apologies to all for the wait. I should have just opened the repo to let you PR against. I understand the hesitancy to bring this into the main pyRevit repo, and wish Autodesk had built this feature into the main product without those limitations! Until then... Do you recommend that this tool live as an extra button on the pyRevit tab, a button on the Addins tab, or as its own tab? |
No pb |
Hi Ehsan,
Proposing to add an Autosave tool via hooks. It comes preconfigured on install disabled (user opt-in) with a default interval of 15 minutes. Clicking the pushbutton toggles functionality on/off and shift-click allows to set interval between saves.
I developed this for the firm I work for, KSS Architects, and we have been using this tool as part of a custom extension for about a year now.
By default, this will not try to save unsaved projects, detached models, and families. The shared library drive at our office is write-protected so I have not had the need to check file paths against an exclusion list, but it could be added in the future.
For non-workshared files, this saves over the project file (and Revit creates the .0001.rvt backups). For workshared files, both fileserver and BIM360/ACC-based, it saves over the local only. This avoids sync conflicts. If the file is closed without syncing, Revit prompts the user to either keep their changes or discard and start from the last sync.