sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Plugin Loader for SketchUp

    Scheduled Pinned Locked Moved Plugins
    14 Posts 11 Posters 16.8k Views 11 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pilouP Offline
      pilou
      last edited by

      Tested! β˜€
      Works like a charm! πŸ‘
      Why with your plug no necessary to restart the prog after loading a new plugin? 😲
      That is black & white magic πŸ’š

      Just why not a "free surf" on any Net's address ❓
      For goto Smustard.com for example? A Plugs famous place πŸ˜‰

      Frenchy Pilou
      Is beautiful that please without concept!
      My Little site :)

      1 Reply Last reply Reply Quote 0
      • MALAISEM Offline
        MALAISE
        last edited by

        I find it very useful and time saver. πŸ‘ πŸ‘

        Thanks Alex.
        MALAISE

        La Connaissance n'a de valeur que partagΓ©e

        1 Reply Last reply Reply Quote 0
        • BurkhardB Offline
          Burkhard
          last edited by

          Nice one.
          @Pilou there is a script from the first ruby days, called script loader. Works in the same way.Not magical πŸ˜‰ You can find it at Didiers site.

          [http://www.ia-plus.de(http://www.ia-plus.de)]

          1 Reply Last reply Reply Quote 0
          • alexschreyerA Offline
            alexschreyer Extension Creator
            last edited by

            Thanks for the comments. I actually didn't know about the script_loader plugin. But you're right - the underlying load function is very simple, nothing fancy here. I like calling it "Plugin loader" though because the menu is the Plugin menu and I wanted to make it easily understandable even for the novice user.

            @Pilou: I didn't include Smustard because the Sketchucation index seems to index their plugins and I wanted to keep the menu as concise as possible.

            Two questions for everyone:

            • Is there a way to turn on the navigation buttons in the web dialog? Apparently these are off in Windows by default.
            • Does this work on the mac? I haven't tested it yet.

            Author of "Architectural Design with SketchUp":
            http://sketchupfordesign.com/

            1 Reply Last reply Reply Quote 0
            • Didier BurD Offline
              Didier Bur
              last edited by

              Hi,

              Hem hem, it seems I must update my site asap... πŸ˜’

              DB

              1 Reply Last reply Reply Quote 0
              • alexschreyerA Offline
                alexschreyer Extension Creator
                last edited by

                Hi Didier, didn't mean to put pressure on you... πŸ˜‰

                Cheers, Alex

                Author of "Architectural Design with SketchUp":
                http://sketchupfordesign.com/

                1 Reply Last reply Reply Quote 0
                • Jean-FrancoJ Offline
                  Jean-Franco
                  last edited by

                  Dear Alex, thank you for this very helpful plugin.
                  I've copied all my plugin folder on my USB key.
                  I've no problem with the single scripts. But if I want to load JPP plugin I've a bugslat !
                  The message box ask me to install progressbar.rb. But it already exists in my plugin folder.
                  Any idea on what could happen ?

                  Jean-Franco

                  1 Reply Last reply Reply Quote 0
                  • alexschreyerA Offline
                    alexschreyer Extension Creator
                    last edited by

                    @jean-franco said:

                    The message box ask me to install progressbar.rb. But it already exists in my plugin folder.

                    This is a case where my loader might not work. Some (especially the more complex) plugins have dependencies that are "hardwired". It might help to have the progressbar.rb script in both locations. Dito for other standard scripts.

                    Author of "Architectural Design with SketchUp":
                    http://sketchupfordesign.com/

                    1 Reply Last reply Reply Quote 0
                    • renderizaR Offline
                      renderiza
                      last edited by

                      Thank you very much!

                      Before this plugin I had to close & reopen my skecthup to review the changes I made to my ruby script but now I can just reload it right inside the program.

                      [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

                      1 Reply Last reply Reply Quote 0
                      • gillesG Offline
                        gilles
                        last edited by

                        I'm trying to manage my plugin collection, your plugin seems to be a good way doing it.

                        Halas, when I choose "load plugins from folder" select any plugin in the folder, I have this report in ruby console:

                        load"/Volumes/USB/as_pluginloader.rb"
                        true
                        Error: #<NoMethodError: undefined method as_require_all' for AS_plugin_loader:Module> /Volumes/USB/as_pluginloader.rb:164:in load_plugin_folder'
                        /Volumes/USB/as_pluginloader.rb:229

                        No plugin loaded. 😞

                        " c'est curieux chez les marins ce besoin de faire des phrases "

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          driven
                          last edited by

                          @gilles
                          add self. at line 143, that seems to work here... [ in a quick test at least!!! ]

                            def self.as_require_all(dirname)
                          

                          john

                          learn from the mistakes of others, you may not live long enough to make them all yourself...

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement