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

Revision history [back]

click to hide/show revision 1
initial version

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

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

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