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

    Organize your Rubies?

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 6 Posters 5.2k Views 6 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.
    • KrisidiousK Offline
      Krisidious
      last edited by

      is there a way to organize your rubies? mine are getting out of control... I have like 200 it seems...

      can'T I build a folder structure that the drop down menu would recognize?

      By: Kristoff Rand
      Home DesignerUnique House Plans

      1 Reply Last reply Reply Quote 0
      • boofredlayB Offline
        boofredlay
        last edited by

        301 Moved Permanently

        favicon

        (www.sketchucation.com)

        301 Moved Permanently

        favicon

        (www.sketchucation.com)

        These might help. They are in the Ruby Depository.

        http://www.coroflot.com/boofredlay

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          @unknownuser said:

          is there a way to organize your rubies? mine are getting out of control... I have like 200 it seems...

          can'T I build a folder structure that the drop down menu would recognize?

          I keep very few in the Plugins menu, prefering to load less frequently used scipts on demand using a scipt loader tool button.

          You just gave me an idea...

          It would be possible to associate a list of scripts to a model, so after the model is loaded, the associated scripts could be loaded. I need to think more about if there's any value to this.


          script_loader.jpg

          Hi

          1 Reply Last reply Reply Quote 0
          • N Offline
            not registered yet
            last edited by

            Hi. .. .I am David. . .Long time listener. .. first time caller. 😄

            Where does one find taht Toolbar for Load scripts. I can't seem to find it.

            [David H]

            1 Reply Last reply Reply Quote 0
            • jujuJ Offline
              juju
              last edited by

              Hi David, welcome to SketchUcation and thanks for posting.

              I think the menu you're referring to is actually a ruby script called "script_loader.rb" that loads ruby scripts on demand and not when SU is started, for this to happen you need to keep the scripts (to be loaded, not the script_loader ruby) somewhere else, but not directly in the plugins folder, I put mine in a subfolder to plugins called scripts. When needed I simply go to script_loader and select the ruby script that I'd like to run.

              Save the Earth, it's the only planet with chocolate.

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by

                @unknownuser said:

                Hi. .. .I am David. . .Long time listener. .. first time caller. 😄

                Where does one find taht Toolbar for Load scripts. I can't seem to find it. . .

                David, you probably can't find it because I'm the only one who has it. It's just something I did for my own convenience.

                My Toolbar has 4 items: [ Open Ruby Console | Browse Plugins Folder | Load Ruby Script | Re-Load Last Script ]

                You can see it in the screenshot I previously posted. If you or anyone else is interested, I can polish it up and get it posted.

                Hi

                1 Reply Last reply Reply Quote 0
                • A Offline
                  azuby
                  last edited by

                  I'm wondering, why the Ruby extension programmers do not make use of the Sketchup built-in Extension class, so the users can switch the extension on and off via Window > Preferences ... In every case (with a loader script or built-in support) you need to restart Sketchup when switchung off extensions, because you can't take away menu items. Would be possible to overwrite the methods in the Ruby extension when switching off via loader script, but anyway the extension is loaded.

                  Also have a look on my approach(!) to organize scripts:
                  http://www.sketchucation.com/forums/scf/viewtopic.php?f=127&p=7623#p7623

                  azuby

                  *error initus :: Blocks | CurrentDate | d/Code | extensionmanager | FFlipper | HideEdges | MeasuredArea | ModelHistory | PluginsHelp | PronButton | SAWSO | SCP | SU²CATT

                  Bad English? PM me, correct me. :smile:**

                  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