Plugin: Observer Tests

2010-05 - The renderingOptionsObsever now prints the name of the changed option.


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.

9 comments:

Scope Davies said...

This is a fine blog and an excellent resource. Keep up the good work.

J said...

Thank you.

Anonymous said...

jim your blog and contributions to the sketchup community are amazing!!! please keep exploring

Anonymous said...

load 'observers/menus.rb'

just for quick copy/paste :)

Thomas Thomassen said...

Jim, have you had any luck in getting the Definition Observer to work?

Or EntitiesObserver.onContentsChange event?

J said...

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.

onizu said...

hey 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)

J said...

onizu - it should be in the Tools menu. Let me know if it is not there.

onizu said...

Jim, it does not show in the Tools menu either..

Popular Posts (Last 30 Days)