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

asked 2020-11-10 09:07:52 -0600

zondauno gravatar image

updated 2020-11-10 13:00:59 -0600

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.

edit retag flag offensive 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 gravatar imageAaron Boranian ( 2020-11-10 18:55:18 -0600 )edit