Sketchup PlugIn Error
Given the fact that the developer of FloorSpace.js says he doesn't intend to fix the pluenum door issues (documented here) am trying Sketchup but i get this plug-in erorr.
Does anyone know why i'm getting this error when i try to register the plugin? @macumber Everytime i try to install the plugin it wants to default to the 2.9 path, but i was able to reset it but it still won't do it right.
Is it because i am using Make 2017? Because i see videos of other people using this and it working just fine.
openstudio_dir = Sketchup.read_default("OpenStudio", "OpenStudioDir")
C:/openstudioapplication-1.0.1
openstudio_modeleditor_rb = File.join(openstudio_dir, "Ruby/openstudio_modeleditor.rb")
C:/openstudioapplication-1.0.1/Ruby/openstudio_modeleditor.rb
load(openstudio_modeleditor_rb)
Error: #<loaderror: 126:="" the="" specified="" module="" could="" not="" be="" found.="" -="" c:="" openstudioapplication-1.0.1="" ruby="" openstudio.so="">
C:/openstudioapplication-1.0.1/Ruby/openstudio.rb:55:in require_relative'
C:/openstudioapplication-1.0.1/Ruby/openstudio.rb:55:in
<top (required)>'="" c:="" openstudioapplication-1.0.1="" ruby="" openstudio_modeleditor.rb:67:in="" <code="">require_relative'
C:/openstudioapplication-1.0.1/Ruby/openstudio_modeleditor.rb:67:in<top (required)>'="" <main="">:in load'
<main>:in
<main>'
SketchUp:1:in `eval'
Thanks
Are you using the newest v1.0.1 of the plug-in? I fixed some bugs around this issue in that release. If you are in SketchUp 2017 you have to load OpenStudio from 2.9.1, that is because both SketchUp 2017 and OpenStudio 2.9.1 use the same version of Ruby (2.2.4). SketchUp 2019 and 2020 use a newer version of Ruby (2.5.5) that is only compatible with OpenStudio Application 1.0.0 or higher.