• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Wanting to use an older .rb file

Scheduled Pinned Locked Moved Extensions & Applications Discussions
extensions
7 Posts 3 Posters 3.5k Views
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.
  • D Offline
    DJfeela
    last edited by 10 Jan 2022, 20:39

    I used to use SketchUp 2016 with a .rb file located here:
    C:\Users%USERNAME%\AppData\Roaming\SketchUp\SketchUp 2016\SketchUp\Plugins

    Now that I'm using 2021 I have found that it doesn't work any more. /sadface.

    I've tried zipping the file and renaming it to .rbz then using the install manager, the file ends up in the same place ( C:\Users%USERNAME%\AppData\Roaming\SketchUp\SketchUp 2021\SketchUp\Plugins) which looks good as there are other extensions in the folder that work fine.

    when SketchUp loads I get this error message:

    ,,,Error Loading File windowmaker_4_1_rel.rb
    Error: #<LoadError: cannot load such file -- /r/sketch_talk.rb>
    C:/Users/darren/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/windowmaker_4_1_rel.rb:6:in load' C:/Users/darren/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/windowmaker_4_1_rel.rb:6:in <top (required)>',,,

    The original file was given to me by a collegue who wrote the original .rb file so I'm afraid I have no idea what this means other than there's something wrong with line 6, am I supposed to find another extension called sketchtalk?
    Any help is appreciated as I'm losing hours to finding a tool that works as well as this one did.

    1 Reply Last reply Reply Quote 0
    • C Offline
      cotty
      last edited by 10 Jan 2022, 20:48

      maybe the original plugin consists of more than one rb file (in folder "r") which you would have to include in the zip file?

      my SketchUp gallery

      1 Reply Last reply Reply Quote 0
      • D Offline
        DJfeela
        last edited by 10 Jan 2022, 20:55

        originally the error and the ruby file read "sketchtalk.rb" but I changed it because I've seen it written /r/sketch_talk.rb in another post and thought that might make a difference. So now I understand it's a file path I can see it wouldn't I'll change it back, but unfortunately will have the same error except it will read:

        Error Loading File windowmaker_4_1_rel.rb
        Error: #<LoadError: cannot load such file -- sketchtalk.rb>
        C:/Users/darren/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/windowmaker_4_1_rel.rb:6:in load' C:/Users/darren/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/windowmaker_4_1_rel.rb:6:in <top (required)>'

        thanks tho.

        1 Reply Last reply Reply Quote 0
        • C Offline
          cotty
          last edited by 10 Jan 2022, 21:05

          was there a folder "r" in your old plugin folder? With that sketchtalk.rb in it?

          my SketchUp gallery

          1 Reply Last reply Reply Quote 0
          • D Offline
            DJfeela
            last edited by 10 Jan 2022, 21:17

            No, I don't think so. as the original command wasn't written as "load '/r/sketch_talk.rb'" but as "load 'sketchtalk.rb'"

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 11 Jan 2022, 11:39

              The exact filepath/name given in the RB is important.
              If the file doesn't exist you'll get an error.
              Ensure the name matches a file in your Plugins folder
              So did your earlier version's Plugins folder include the missing file - 'sketchtalk.rb' ?
              If so, then you must copy it into the newer Plugins folder and restart SketchUp...

              TIG

              1 Reply Last reply Reply Quote 0
              • D Offline
                DJfeela
                last edited by 11 Jan 2022, 12:18

                Just thought I'd let you know you prompted me to go looking for the file Sketchtalk.rb AND I've found it! Along with some others that I think also make it work and give other options too.

                thanks again for your reply, and for increasing my understanding.

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

                Advertisement