Sketchup::ModelObserver
Author | Manuela Ruiz (mruiz@lcc.uma.es) |
Observer attached to Sketchup.active_model, triggers when the user makes an UNDO
Reexecutes the grammar and shows a message, saying that it is not allowed to undo
# File lib/interfaces/guitools.rb, line 138 138: def onTransactionUndo(model) 139: Sketchup.active_model.start_operation("Undo Done") 140: #Shade.project.need_refresh = true 141: UI.messagebox("We are sorry, you cannot use the undo command.") 142: Sketchup.active_model.commit_operation 143: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.