Openstudio plugin crashes when opening existing .skp file (2020 and 2019 versions)

Hi guys,

I had installed openstudio application V1.1.0, open studio SDK 3.1.0 and the sketchup plugin v1.1.0 with both sketchup pro 2020 and sketchup pro 2019 independently. The problem is the following: when you open an sketchup file it displays the following error when loading.

Error loading file C:/Users/morri/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/OpenStudio/Startup.rb Error: #<nomethoderror: undefined="" method="" <code="">openstudio_entities' for #<Sketchup::Model:0x000001e4ad841078>> C:/Users/morri/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/sketchup/Sketchup.rb:169:indelete_openstudio_entities' C:/Users/morri/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/ModelManager.rb:116:in new_from_skp_model' C:/Users/morri/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/PluginManager.rb:183:instart' C:/Users/morri/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/PluginManager.rb:555:in <module:OpenStudio>' C:/Users/morri/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio/lib/PluginManager.rb:73:in<top (required)&gt;'="" c:="" users="" morri="" appdata="" roaming="" sketchup="" sketchup="" 2020="" sketchup="" plugins="" openstudio="" startup.rb:99:in="" <code="">load' C:/Users/morri/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/OpenStudio/Startup.rb:99:in<top (required)&gt;'="" c:="" program="" files="" sketchup="" sketchup="" 2020="" tools="" extensions.rb:197:in="" <code="">require' C:/Program Files/SketchUp/SketchUp 2020/Tools/extensions.rb:197:inload' C:/Users/morri/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio.rb:47:in register_extension' C:/Users/morri/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/openstudio.rb:47:in<top (required)&gt;'<="" p="">

The plugin opens perfectly when you open sketchup to create a new project.

I had tried everything from deleting all software, deleting temporary files, verifying the compatibility between versions from Openstudio and Sketchup but the error still persists.

zondauno's avatar
41
zondauno
asked 2020-11-10 09:07:52 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-11-10 13:00:59 -0500
edit flag offensive 0 remove flag close merge delete

Comments

The OpenStudio extension will ONLY open and save files ending in .osm (OpenStudio Model) -- not files ending in .skp (SketchUp model). You can open a .skp file and then copy it's contents into an OpenStudio model using the OpenStudio extension. I would recommend reading this post and this post for more details.

Aaron Boranian's avatar Aaron Boranian (2020-11-10 18:55:18 -0500) edit
add a comment see more comments