But that would bring up the question, what should happen if it were to be called on an non-active entities context ?
Since it IS a user interactive command, it was thought best to just force it to act only within the active entities context, so the method was defined “up one level” as an instance method of the active model object.
Think about it this way, and it makes sense that it is defined where it is.
I just said this with another more important reason …
I will agree a Sketchup::ComponentDefintion#place_with_mouse() block form method would be COOL!
Right now it’s a rigmarole dealing with the instance after placement. Usually we have to use a temporary definition observer with an onComponentInstanceAdded callback.
Like in this example… [code] undoable place_component() “MoveTool” clone
It would be nifty to do something like the following but without having to use an observer:
# code to perform on instance i
# after each placement if repeat arg is true: