Detecting Project Changes Since Last Saving

manh.envi
Participant
Participant

Detecting Project Changes Since Last Saving

manh.envi
Participant
Participant

I am developing an auto-save plugin and have encountered a challenge I haven't been able to solve. When working on a project, after saving, you might continue working on other tasks while keeping the project open. If no changes are made to the project, the auto-save feature will not trigger.

My question is: How can I detect whether the project has changed since the last save?

0 Likes
Reply
Accepted solutions (1)
153 Views
2 Replies
Replies (2)

naveen.kumar.t
Autodesk Support
Autodesk Support
Accepted solution

Hi @manh.envi ,

Could you please try using the IsModified property?

https://www.revitapidocs.com/2024/1e67b9dd-2fca-0a54-91f6-620e550f6f56.htm


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes

manh.envi
Participant
Participant

Thanks a lot. Using the IsModified property is so simple but I didn't notice.

0 Likes