Translate Page

Main Menu

[as] Related Posts

Links & Ads

[as] Recent Posts

[as] on Twitter

Plugin Loader for SketchUp

Description

This SketchUp plugin was created out of a need for having plugins available in a “locked down” computer lab setting (similar to my solution for AutoCAD). It also provides an easy way to browse some of the web plugin repositories and then to load any plugin into SketchUp – from any location.

After installation, this is how the plugin appears under the “Plugins” menu:

Plugin loader menu

Menu structure

These are the menu items:

  • The top two items allow for loading either a single plugin (RB file) or several plugins at once that are all contained in a folder. For the second option, simply select any file within the folder and all will be loaded.
  • The next set of links point to the main web repositories for SketchUp plugins. After clicking the menu item, a web browser window opens within SketchUp. You can then browse to a plugin and download it. After closing the browser window, an option is presented to install the plugin right away (not on Macs, though). You can save these plugins anywhere. In a locked-down computer lab, it may be a good idea to save them to your USB memory stick.
  • If you get stuck, maybe the About option has some information. Otherwise leave a comment on the bottom of this page.

Downloads

Plugin Loader for SketchUp v.1.2 (5.14 kB, downloaded 9577 times) - PLEASE NOTE: Download the ZIP file and unzip it. Then drop it into the SketchUp plugin directory (usually at C:\Program Files\Google\SketchUp\Plugins\ in Windows). Then re-start SketchUp and look for the new menu item in the Tools menu.

IMPORTANT: I changed file names from v. 1.0 to 1.1. If you are updating, delete the old version first. Keep the folder organization as it is in the ZIP file, otherwise the plugin may not work properly.

Plugin Loader for SketchUp v.1.2 (RBZ version) (5.14 kB, downloaded 554 times) - PLEASE NOTE: Download the RBZ file. Then open SketchUp (v.8 M2 and above) and go to the Preferences dialog. On the Extensions tab, select "Install Extension..." and browse to the file.

ALSO: If you want to receive updates whenever a new version is published, subscribe to the comments below.

Alternatively, you can save the contained files anywhere (e.g. your USB memory stick – the H: drive in my case) and then load it into SketchUp (no restart required!) by opening the Ruby Console (Window > Ruby Console) and entering this (modify for your setup):

  load "H:\PluginLoader.rb"

Screenshots

Web browser

Search for a plugin or browse the web to find it.

You can browse to a plugin and download it right from this window. Your standard plugin directory is shown in the title bar but it is not necessary to save the plugin file(s) there. Using the load function, you can load plugins that are located anywhere.

Load dialog

Load dialog

To load a plugin, browse to its main Ruby (RB) file. While this will work in most cases, it may fail to load some plugins due to programmed-in dependencies.

Credits:

Thanks to Jim Folz for his help (in the SCF).

Revision History

  • 1.0 (3/9/2009) – First version
  • 1.1 (3/18/2009) – Changes:
    - Added more plugin links and fixed some spelling
    - Added browser “buttons” and better explanation
    - Added help menu item and updated help file
    - Changed menu order a bit
  • 1.2 (11/3/2010) – Changes:
    - Renamed some menu items
    - Added Google custom search
    - Added link to extension manager
    - Reformatted code and added module
    - Removed developer links (those are now in my Ruby Code Editor)
    - Changed layout of browser a bit
    - Fixed mac issues: dlg can’t show modal, browser buttons dont work well
  • Kiko

    Hello Alex, please keep me updated…

  • http://alexschreyer.net Alexander Schreyer

    Just added the RBZ version of this plugin. If you have SU v.8 M2 installed, give it a try!

    • Irwan Caniago

      i am still using 8.0.4811 though :)
      i am happy with the zip one ;)
      thank you alex.

  • Irwanwr

    does it still work with SU8? i’ve put many rb files into SU plugins folder. i wonder if this plugin can help manage those plugins. so that i don’t have to copy paste all of them into SU plugins folder from my lib folder.

    • http://alexschreyer.net Alexander Schreyer

      I have been using it with v.8, so it does work. Let me know if you run into any problems.

      • Irwanwr

        yes, it does work. thank you.

  • Howardhong

       def self.load_plugin_folder    initdir = Sketchup.find_support_file(“plugins”)    if Sketchup.version.to_f < 7.0  filename = UI.openpanel "Select any file – all plugins will be loaded from that folder"    else  filename = UI.openpanel("Select any file – all plugins will be loaded from that folder", initdir, "*.rb")    end
       if filename                 dirname = File.dirname(filename.gsub("\", "/"))       begin
             rbfiles = Dir[File.join(dirname, "*.rb")]
             $:.push dirname
             rbfiles.each {|f| require f}
         rescue
             UI.messagebox "Could not load all files from: n#{dirname}"     end
       end
        end # load_plugin_folder

  • Tibg

    Thanks :)

  • ben

    nice………. i got some question if u don’t mind……. :) where can i find plugin that got kerkythea exporter…. ty

    email: ykbenedict@yahoo.com

    • http://alexschreyer.net Alexander Schreyer

      It’s on the Kerkythea website.

  • mac1

    Great work !

  • mac1

    Have not tried yet but looks great!

  • zakaria faqyr

    thank you for your applications
    i'm from morocco , really i like it

  • http://www.qvbuilding.com Charles Schutz

    Thanks for your work. I appreciate it!

  • James

    great site…thanks

  • SketchUp Ed

    Just tried it works better than I thought it would

    • alexschreyer

      Good to hear!

  • alexschreyer

    I just updated the Plugin Loader plugin to v.1.2. Download from my site.

    Cheers,
    Alex

  • alexschreyer

    As long as the files are in the "Plugins" folder in the SketchUp installation, they should be loaded automatically on startup. You would then find the menu item in the "Plugins" menu.

    One issue that I just recently noticed: Vista seems to protect file in the installation folder. I'll have to look into a fix for that.