2

Update geometry imported from IDF with FloorspaceJS

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

Adrien's avatar
404
Adrien
asked 2019-12-07 04:57:13 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-01-03 09:10:33 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

5

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.

macumber's avatar
12k
macumber
answered 2019-12-28 13:17:30 -0500, updated 2019-12-29 11:09:43 -0500
edit flag offensive 0 remove flag delete link

Comments

2

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
add a comment see more comments