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

Update geometry imported from IDF with FloorspaceJS

asked 2019-12-07 04:57:13 -0500

Adrien's avatar

updated 2020-01-03 09:10:33 -0500


I'm looking for a way to make OS believe that my geometry, that has been imported from an IDF file, has been created with FloorspaceJS so that the geometry update workflow is made easier.

Currently, I have to use the ImportEnvelopeAndInternalLoadsFromIdf measure or delete all my zones and import the new one from Geometry / Editor (this doesn't always work probably depending how the original geometry has been created/imported?).

Is there a way to do that? Maybe some kind of conversion tool?

Thank you, Adrien

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-12-28 13:17:30 -0500

updated 2019-12-29 11:09:43 -0500

The OpenStudio Application Geometry->Editor tab has the ability to import IDF geometry to update your model with. From the Geometry Type drop down, you would select IDF instead of FloorspaceJS. If you have already associated your model with a FloorspaceJS file, you can delete the floorplan.json file inside of your OSM companion directory. The import IDF method uses object names to detect updates vs new geometry so you will not want to change object names in your IDF editor.

The workflow works best when you start with one geometry source (e.g. FloorspaceJS, IDF, gbXML) and stick with that same source throughout. The assumption was that you would use some separate editor to manage the geometry and switching editors would not be allowed. I'm not sure what workflow you have been using but you can trick the app into thinking you have been using IDF all along by placing a file named geometry.idf in your companion directory (make sure to rename any floorplan.json, gbXML.xml, or geometry.osm files that exist).

If you want you can also copy the code in the geometry editor tab to import an IDF and translate to OSM and the merge with current OSM into a measure or script.

edit flag offensive delete link more



Thanks, but how to enable the "Import" and "Merge with Current OSM" buttons next to "Geometry Type: IDF"? It looks like they are always disabled when a geometry already exists... ?

Adrien's avatar Adrien  ( 2019-12-28 15:39:42 -0500 )edit

Your Answer

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

Add Answer

Training Workshops

Question Tools



Asked: 2019-12-07 04:57:13 -0500

Seen: 274 times

Last updated: Dec 29 '19