# Dump Compressed Objects

![](/files/-Miho3xYU4QfFniElcSR)

![](/files/-Miho39i7-0ckyI1dpBX) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-core/blob/master/honeybee_grasshopper_core/src//HB%20Dump%20Compressed%20Objects.py)

Dump any honeybee object to a compressed .pkl file. You can use "HB Load Compressed Objects" component to load the objects from the file back into Grasshopper.

Honeybee objects include any Model, Room, Face, Aperture, Door, Shade, or boundary condition object

It also includes any honeybee energy Material, Construction, ConstructionSet, Schedule, Load, ProgramType, or Simulation object.

## Inputs

* **hb\_objs \[Required]**

  A Honeybee object (or list of Honeybee objects) to be written to a file.&#x20;
* **name**

  A name for the file to which the honeybee objects will be written. (Default: 'unnamed').&#x20;
* **folder**

  An optional directory into which the honeybee objects will be written.  The default is set to the default simulation folder.&#x20;
* **dump \[Required]**

  Set to "True" to save the honeybee objects to file.&#x20;

## Outputs

* **report**

  Errors, warnings, etc.&#x20;
* **hb\_file**

  The location of the file where the honeybee .pkl file is saved.&#x20;


---

# 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/dump_compressed_objects.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.
