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

openstudio sketchup plugin .skp model reopen

asked 2015-10-02 13:12:54 -0600

xchen's avatar

I believe this is an issue in versions later than 1.5.

In the earlier versions, when exit the program, it saves one .skp file and one .osm file. When reopening the .skp file, the .osm file will automatically reload and link. And I can keep working on the model.

But in the later versions (i've used v1.7 and v1.9), when i tried to reopen the .skp file, the .osm file won't load, all the geometry disappeared.

And the error shows
image description

And when i tried to open the openstudio file .osm through the plugin, it doesn't show anything.

So basically I can't work on a model anymore once it's closed. I'm confused why this is the case. Am I doing anything wrong? Any way around it? If this is on purpose, what's the intent behind it?

I'm using Sketchup Pro 2015.

Any input appreciated, thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-10-02 13:30:22 -0600

We did remove the linking of OSM and SKP files because it was probematic, but you should still be able to open your OSM file (make sure you use the OpenStudio Plugin's "Open OSM model" button and not SketchUp's Open menu. SketchUp's main Open won't open an OSM file.

You can still manually link the files using these steps.

  1. Launch SketchUp
  2. Open your SKP using SketchUp's open menu
  3. Open your OSM file using the OpenStudio Plugin's "Open OSM Model" button.

Step to is completely optional. You only have to open a SKP file if you want to see it side by side with your OSM. When you do step three make sure you are using the OpenStudio Plugin's "Open OSM Model" button and not SketchUp's native open, which won't be able to open an OSM file.

What is happening when you open your OSM filem do you get any errors, or does it just look like it is working but just doesn't show any geometry? If you open the OSM file in a text editor and search for "OS:Surface" do you find anything?

edit flag offensive delete link more

Comments

Hi David, when open the .osm file through the openstudio plugin "Open OSM Model" button, no geometry showed up. No error message though.

In the openstudio inspector, there is 0 space, surface, etc.

If open the .osm in a text editor, there's no "OS: surface". So pretty much the model is empty for some reason.

xchen's avatar xchen  ( 2015-10-02 13:39:33 -0600 )edit

Do you see any "OS:Space" or "OS:ThermalZone" objects in the OSM? If your OSM is really empty for some reason and you have a saved SKP file with the geometry, there are ways to convert the SketchUp groups to OSM spaces. Let me know if that is the case and I can point you in the right direction.

David Goldwasser's avatar David Goldwasser  ( 2015-10-02 14:03:43 -0600 )edit

I tried couple times and this might be the cause: When I wanted to reopen the model, I first opened .skp file not the .osm file (that's how it works in the earlier versions). And that error occurred. The program deletes the linked OpenStudio Content.Nothing's left in the .skp file (all geometry gone). Then I realized i should open the .osm directly. I quit sketchup to reopen it. It asked me if i wanted to save the .skp file and the .osm file. I saved both. At this step, i overwrote the original .osm file (with content) with this new .osm file (empty because of the empty .skp file).

xchen's avatar xchen  ( 2015-10-02 15:52:41 -0600 )edit

If i open the .osm file directly, everything's there. Thanks, David.

xchen's avatar xchen  ( 2015-10-02 15:56:38 -0600 )edit
2

answered 2015-10-03 22:09:10 -0600

Ery Djunaedy's avatar

A side note: I always emphasize to my students that when you are using OpenStudio, you are dealing with three different file formats at the same time: SKP, OSM and IDF. You need to know which one is which, and each one contains what.

What I always teach: they all contains objects, but the objects may not work well together:

  1. SKP: never save to this format when modeling in OpenStudio. You can open SKP, but only if you need the SketchUp objects as a trace to your OSM model, e.g. when the architect gives you their SketchUp model. SKP object contains only geometry, but this is not OSM object (unless you convert it to OSM like projecting it as loose geometry), and definitely not IDF object.
  2. OSM: only save your model to this format. OSM contains a subset of EnergyPlus objects, plus additional objects not recognized by EnergyPlus.
  3. IDF: this is the end result that eventually simulated by EnergyPlus. OpenStudio will create this file right before simulating it in EnergyPlus (or you can export it in SketchUp plugin, but will only contain geometry). You need to know where this file is located if you run OpenStudio, because the error messages from EnergyPlus refer to IDF file, not to OSM file.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 2015-10-02 13:12:54 -0600

Seen: 756 times

Last updated: Oct 03 '15