Unload a Plugin
-
Is it possible to unload a plugin while working inside SketchUp? Through the console maybe?
-
SketchUp knows only the loader file of an extension, and Ruby has no idea what comprises a "plugin". So it is not possible to "unload" a plugin. (It would be necessary to know what data in memory belongs to a plugin in order to undefine each individual piece of data).
Apart from that, SketchUp has only methods to create menu items/toolbars, but it lacks methods to modify or remove (it could/should have).You could just ignore a plugin or restart SketchUp. Why are you interested in unloading it?
-
Aerilius beat me to it, but here's my similar answer, anyway
not easily without completely overwriting all of it's definitions and methods which would be risky unless you wrote it in the first place.
the alternative is use RC to find and rename the plugin so it doesn't work for the next startup, and then do a restart.
there may even be a plugin for that...
john
Advertisement