Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

alang's profile - activity

2023-11-10 12:10:19 -0500 received badge  Popular Question (source)
2020-08-17 05:27:59 -0500 received badge  Supporter (source)
2020-08-17 05:27:56 -0500 marked best answer OpenStudio SketchUp plugin error - trouble installing plugin

Hi,

I'm having trouble getting the OpenStudio plugin for SketchUp to work. The closest I have been to succeeding was by:

  1. Installing sketchup 2019 or sketchup 2020 (I have tried both, with the same result)
  2. Install OpenStudio Application 1.0.0 from GitHub
  3. Download OS plugin for SU version 1.0.0 from GitHub
  4. Install the plugin within SU using the extension manager

This works initially, with OpenStudio toolbars appearing and seeming to work. But when I close SketchUp and reopen it, I get the following error message and the OS toolbars no longer appear.

Error Loading File C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/OpenStudio/Startup.rb
Error: #<NoMethodError: undefined method `inspector_dialog' for nil:NilClass>
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/interfaces/RenderingColor.rb:197:in `update_entity'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/interfaces/DrawingInterface.rb:173:in `draw_entity'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/interfaces/ModelInterface.rb:944:in `block in attach_openstudio_model'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/interfaces/ModelInterface.rb:942:in `each'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/interfaces/ModelInterface.rb:942:in `each_with_index'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/interfaces/ModelInterface.rb:942:in `attach_openstudio_model'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/ModelManager.rb:227:in `attach_openstudio_model'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/ModelManager.rb:177:in `open_openstudio'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/ModelManager.rb:142:in `new_from_path'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/ModelManager.rb:117:in `new_from_skp_model'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/PluginManager.rb:165:in `start'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/PluginManager.rb:544:in `<module:OpenStudio>'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/PluginManager.rb:87:in `<top (required)>'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/OpenStudio/Startup.rb:67:in `load'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/OpenStudio/Startup.rb:67:in `<top (required)>'
C:/Program Files/SketchUp/SketchUp 2020/Tools/extensions.rb:197:in `require'
C:/Program Files/SketchUp/SketchUp 2020/Tools/extensions.rb:197:in `load'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio.rb:45:in `register_extension'
C:/Users/alang/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio.rb:45:in `<top (required)>'

I have also read through discussions here and on GitHub, and tried a bunch of solutions to similar issues from the past, but with no luck. Any suggestions would be very much appreciated!

Thanks, Alan

2020-08-17 05:27:55 -0500 received badge  Scholar (source)
2020-07-26 21:36:16 -0500 commented question OpenStudio SketchUp plugin error - trouble installing plugin

Yes, I did what you are describing (i.e. uninstall plugin within SU, delete old plugin folder, run your code in SU). Th

2020-07-26 19:45:55 -0500 commented question OpenStudio SketchUp plugin error - trouble installing plugin

With that folder deleted, the code in your first gist returns this. And your new code does generate a progress bar pop

2020-07-24 00:40:51 -0500 commented question OpenStudio SketchUp plugin error - trouble installing plugin

Running your code returned this. I can't see any remnants of other OpenStudio plugins in the old path location - its co

2020-07-23 02:50:39 -0500 commented question OpenStudio SketchUp plugin error - trouble installing plugin

With the plugin uninstalled (I tried just disabling it, but when I relaunched SketchUp it reactivated), those commands r

2020-07-22 19:09:45 -0500 commented question OpenStudio SketchUp plugin error - trouble installing plugin

Thanks for your reply. I was careful to always point the plugin to a current application folder. Checking OpenStudioDi

2020-07-22 19:09:35 -0500 commented question OpenStudio SketchUp plugin error - trouble installing plugin

Thanks for your reply. I was careful to always point the plugin to a current application folder. Checking OpenStudioDir

2020-07-21 08:16:13 -0500 received badge  Student (source)
2020-07-21 08:15:38 -0500 asked a question OpenStudio SketchUp plugin error - trouble installing plugin

OpenStudio SketchUp plugin error - trouble installing plugin Hi, I'm having trouble getting the OpenStudio plugin for S