Wanting to use an older .rb file
-
I used to use SketchUp 2016 with a .rb file located here:
C:\Users%USERNAME%\AppData\Roaming\SketchUp\SketchUp 2016\SketchUp\PluginsNow 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:inload' 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. -
maybe the original plugin consists of more than one rb file (in folder "r") which you would have to include in the zip file?
-
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:inload' C:/Users/darren/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/windowmaker_4_1_rel.rb:6:in<top (required)>'thanks tho.
-
was there a folder "r" in your old plugin folder? With that sketchtalk.rb in it?
-
No, I don't think so. as the original command wasn't written as "load '/r/sketch_talk.rb'" but as "load 'sketchtalk.rb'"
-
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... -
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement