# Load gbXML OSM IDF

![](/files/fU4mAwZjKRRoTPdD9C6c)

![](/files/bcQXnB7beuEuyjrktlU9) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-core/blob/master/honeybee_grasshopper_core/src//HB%20Load%20gbXML%20OSM%20IDF.py)

Load a gbXML, OSM, or IDF file as a Honeybee Model.

The reverse translators within the OpenStudio SDK are used to import all geometry and boundary conditions (including adjacencies) to a Honeybee format.

Note that, while all geometry will be imported, it is possible that not all of the properties assigned to this geometry will be imported, particularly if a certain property is not supported in the OpenStudio SDK. Honeybee will assign defaults for missing properites.

### Inputs

* **model\_file \[Required]**

A file path to a gbXML, OSM or IDF file from which a Honeybee Model will be loaded.

* **reset\_props**

Set to True to have all energy properties reset to defaults upon import, meaning that only the geometry and boundary conditions are imported from the model file. (Default: False).

* **load \[Required]**

Set to "True" to load the Model from the input file.

### Outputs

* **report**

...

* **model**

A honeybee Model objects that has been re-serialized from the input file.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ladybug.tools/honeybee-primer/components/3_serialize/load_gbxml_osm_idf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
