Observer Tests a test suite of all the available observers in SketchUp.
The image shows the menu with the observers. Click an an observer to add it to the model. Be sure to open the Ruby Console window to view the events that get called.
The latest version includes all the Observers in SketchUp. A few of them need some user input to find something to attach to, and so I added some dialogs to help pick those things out. These are marked with an asterisk.
To install, unzip the file and move the observers folder into your Plugins folder. The Observers menu will appear in the Plugins menu.
Download from here.
This is a fine blog and an excellent resource. Keep up the good work.
ReplyDeleteThank you.
ReplyDeletejim your blog and contributions to the sketchup community are amazing!!! please keep exploring
ReplyDeleteload 'observers/menus.rb'
ReplyDeletejust for quick copy/paste :)
Jim, have you had any luck in getting the Definition Observer to work?
ReplyDeleteOr EntitiesObserver.onContentsChange event?
No Thomas, I haven't. Each Observer method is dynamically generated, and the 2 DefinitionObserver methods: onComponentInstanceAdded, and onComponentInstanceRemoved are both created. But I don't know what triggers them.
ReplyDeletehey Jim, simply placing the "observers" folder in the plugins folder does not load the plugin for me (It does not show up in the Plugins menu list)
ReplyDeleteonizu - it should be in the Tools menu. Let me know if it is not there.
ReplyDeleteJim, it does not show in the Tools menu either..
ReplyDelete