ruby - How to turn off save prompt when closing Sketchup -


i'm using sketchup plugin, makes custom files. users of plugin never need save files of .skp files, , if confuse them.

when closing sketchup, there prompt save model, result in saving .skp file, not desired. there sketchup::appobserver.onquit(), doesn't full purpose -- i'm looking more sketchup::appobserver.beforequit()

any ideas?

you try model.close, has parameter ignore changes. quitting program should not prompt. however, available in sketchup 2015 , later.

edit: guess want when user quits , not force quit. may not answering question exactly.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -