Exit without save

Exit without save

prakash.muthu
Advocate Advocate
1,195 Views
4 Replies
Message 1 of 5

Exit without save

prakash.muthu
Advocate
Advocate
Is there an option to exit application without saving file modifications? 
0 Likes
Accepted solutions (1)
1,196 Views
4 Replies
Replies (4)
Message 2 of 5

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @prakash.muthu ,

I am assuming that you are trying to close the work shared file without saving.

 

If that's the case then have a look at this below link

Close Workshared Files without Saving 

 

If this is not what you want, could you please explain briefly what you are trying to do?

 

And also please note that this discussion forum is dedicated to programming Revit using the Revit API.

 

If your question is related to non-API then You should try one of the non-API Revit product support discussion forums 

https://forums.autodesk.com/t5/revit-api-forum/this-forum-is-for-revit-api-programming-questions-not...


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 5

prakash.muthu
Advocate
Advocate

Yes, i'm asking api option to avoid save message on application exit. is there anyway to cancel save popup or save on exit?

0 Likes
Message 4 of 5

naveen.kumar.t
Autodesk Support
Autodesk Support
Accepted solution

Hi @prakash.muthu ,

 

Try using this below link

https://thebuildingcoder.typepad.com/blog/2009/06/autoconfirm-save-using-dialogboxshowing-event.html


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 5 of 5

prakash.muthu
Advocate
Advocate

Thank you Naveen Kumar.

0 Likes