@mattc said:
def initialize() > sel=Sketchup.active_model.selection > SPP;;test_start > SPP;;check_selection(sel) > SPP;;test_end > end(4) The above is not correct.
The initialize() method is only used in a class definition, where you wish to let the user create MANY instances of the object.
Users will not need to create many copies of your plugin.
Most plugins are code that needs only one copy, .. so it should be a module (inside your author module.)
But a plugin module can have (and often does,) use custom class definitions and instances inside it's module.
Later on, you will likely be creating a custom Tool class inside your plugin module.
💭