π’ PlaceMaker | 25% off for February including new Google Earth data imports!
Learn more
[rubydoc] EntityObserver vs EntitiesObserver?
-
What's the difference? both give example where the observer is attached to a face.
And EntityObserver list
def onChangeEntity (entity)
while EntitiesObserver givesdef onEntityChanged (entity)
as an example for event, but it's not listed further down the page.Is it just the example for EntitiesObserver that's incorrect?
-
The documentation for Observsers is especially fubar.
Sketchup;;EntityObserver.instance_methods ["onChangeEntity", "onEraseEntity"] Sketchup;;EntitiesObserver.instance_methods ["onElementAdded", "onEraseEntities", "onContentsModified", "onElementRemoved"]
I made this plugin for experimenting with Observers: http://sketchuptips.blogspot.com/2008/03/plugin-oberver-tests.html
-
Thanks Jim! I'll check it out.
I found I needed to monitor stuff, but suddenly found myself a bit lost.
Advertisement