Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
π« Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
[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