[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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement