# IFC-HBJSON: Linking Energy to geometry

**URL:** <https://discourse.ladybug.tools/t/ifc-hbjson-linking-energy-to-geometry/19902>\
**Category:** scripting\
**Tags:** honeybee\
**Created:** [October 29, 2022, 7:47am UTC](https://discourse.ladybug.tools/t/ifc-hbjson-linking-energy-to-geometry/19902 "2022-10-29T07:47:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramana](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/ramana/32/33508_2.png) [@Ramana](https://discourse.ladybug.tools/u/Ramana)\
**Post date:** [October 29, 2022, 7:47am UTC](https://discourse.ladybug.tools/t/ifc-hbjson-linking-energy-to-geometry/19902/1 "2022-10-29T07:47:31Z")

</div>

Hello,

Me and my team are working on a project to convert an IFC file to a HBJSON file. We have used IFC Open Shell to parse the IFC file and created the geometry as a list to export it as a HBJSON file using JSON pickle.

Now, I have created a list of values for the class “global construction set” as it has pre-defined values. I am not sure how or what parameters of construction set to link to the geometry related classes such as “Room”, “Face” or “Aperture”. And what are the other parameters in class “Energy” for (construction sets, constructions, materials, hvacs, program types and schedules), how to define them and how to link those values to the geometry related classes?

Please clarify

---

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/mostapha/32/15244_2.png) [@mostapha](https://discourse.ladybug.tools/u/mostapha)\
**Post date:** [October 31, 2022, 6:47pm UTC](https://discourse.ladybug.tools/t/ifc-hbjson-linking-energy-to-geometry/19902/2 "2022-10-31T18:47:56Z")

</div>

Hi, @Ramana - Have you checked the code inside the Grasshopper plugin components? You can use them as sample codes to show you how it can be done.

The Honeybee Schema documentation is also a good resource to understand these relationships:

> **[3.1 ConstructionSet Schema · ladybug-tools/honeybee-schema Wiki](https://github.com/ladybug-tools/honeybee-schema/wiki/3.1-ConstructionSet-Schema)**
>
> :honeybee: :scroll: HBJSON format schema. Contribute to ladybug-tools/honeybee-schema development by creating an account on GitHub.
