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
Post a Comment