Message 1 of 3
saving and closing a file without prompting user

Not applicable
08-05-2018
04:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i m using revit 2016 api and when i run the command doc.saveandclose() , it prompts me to "do you want to save changes?" , does anyone knows how can i do it without prompting the user, i have opend an adsk file using revit api and also in the active session , i m having different file as i know that revit api cant close the current doc, so i want to save and close the behind adsk file using revit api, help please?