gbXML import error

I got the following error trying the load the GBXML model from pollination in Rhino.
It was the Rhino example house model

Failed to load model: System.ArgumentException: Command:
C:\Program Files/ladybug_tools\python\python -m honeybee_energy translate model-from-gbxml --output-file “C:\Users\moses\AppData\Local\Temp\r0bavznm.n1x.hbjson” “C:\Users\moses\OneDrive - Sheehan Nagle Hartray Architects\Desktop\GBXmlModel.xml”
honeybee_energy.cli.translate - ERROR - Model translation failed.
Failed to run OpenStudio CLI:
Cannot load gbXML file at ‘’
Traceback (most recent call last):
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\cli\translate.py”, line 364, in model_from_gbxml
_run_translation_osw(osw, out_path)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\cli\translate.py”, line 679, in _run_translation_osw
_parse_os_cli_failure(os.path.dirname(osw))
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\run.py”, line 939, in _parse_os_cli_failure
‘Failed to run OpenStudio CLI:\n{}’.format(‘\n’.join(log_osw.errors)))
Exception: Failed to run OpenStudio CLI:
Cannot load gbXML file at ‘’
at Core.Utility.ExePythonCommand(String argument, String& results)
at Core.Utility.GBXMLToHBJson(String gbxmlPath, String saveAsPath)
at Pollination.RH.Import.PollinationImport.RunGbxmlImporter(String filename, RhinoDoc doc, FileReadOptions options)

Hi @mscott, can you share the exported gbXML file with us to try? It looks like there is an error in the content of the file.

GBXmlModel.zip (6.4 KB)

it is attached

Thank you! This was a bug that we fixed quickly after the release but I think you downloaded it before we push the fix. The gbXML file is an HBJSON file. :see_no_evil: If you downloaded the latest version of the Revit plugin this issue has been resolved.

See here for more information:

1 Like