I’m not sure what other detail I can add… right now to run my script I open sketchup, then select Extensions>MyExtension. Do you know of any way to run the interpeter, or something else, without the whole gui of sketchup running? I’d like to be able to just run MyExtension from the command line if possible.
You can’t run a script without having SketchUp open.
But therefater it should load and run if it exists in the Plugins folder, or the full path - which you need to specify.
The require ‘sketchup.rb’ should run when it’s run within SketchUp, but then it is only needed if you are calling some specific SketchUp methods…