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

Update geometry imported from IDF with FloorspaceJS

asked 5 years ago

Adrien's avatar

updated 5 years ago

Hi,

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
5

answered 5 years ago

updated 5 years ago

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.

Preview: (hide)
link

Comments

3

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  ( 5 years ago )

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

3 followers

Stats

Asked: 5 years ago

Seen: 476 times

Last updated: Dec 29 '19