HB_Dump_gbXML component doesn't works with the "_full_geo" option

Hi,

After some research on the forum without finding an answer, I decided to create a new post.

My problem concerns the HB_Dump_gbXML component. This component systematically produces an error when the “_full_geo” option is activated.

This error always looks like this :
“1. exception solution:Room_844_071d7afb_Space”

I need to enable this option because the model I want to create must contain the “ShellGeometry”.information.

Am I the only one to deal with this issue ?

Thanks for your advices.

Hi Gamiel,

Unfortunately, you’re not. I have come across this issue recently as well. Where previously I have been able to export to gbXML, the latest versions seem to no longer be able to. Sadly I have no resolution for you, so posting in the hopes to follow the conversation.

Hi,

I am also dealing with this issue.
I tried to use several version of ladybug (1.3.0, 1.4.0 and 1.5.0).
But I always get the following error :
"Error: Runtime error (KeyNotFoundException): Room_1_e8c809fb_Space
Traceback:
line 872, in add_gbxml_space_boundaries, “.\ladybug_tools\python\Lib\site-packages\honeybee_energy\run.python\Lib\site-packages\honeybee_energy\run
line 114, in script”

I understand that the problem come from a dictionnary key.
But I can’t find witch dictionnary it is
In the file run.py, the line that has the problem is :
l872 : hb_room = room_dict[room_id]

with room_dict = {room.identifier: room for room in honeybee_model.rooms}
room.identifier → properties in the file room.py (\Lib\site-packages\honeybee)
honeybee_model.rooms → list in the file model.py (\Lib\site-packages\honeybee)
room_id = room_element.get(‘zoneIdRef’)
zoneIdRef → attribute of the gbxml template (for example : )

Does anybody else have the issue and maybe find a solution ?

Thank you all for bringing this to my attention and I apologize it took me some time to test it and respond. I just pushed a fix for this to the latest development version of the plugin, which you can get with the LB Versioner (in an hour or so):

After that, the full_geo_ option should work without issues.

1 Like