> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/dragonfly-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/dragonfly-primer/components/0_create/deconstruct_model.md).

# Deconstruct Model

![](/files/-Mihr_4t2M7vZNEsYKV_)

![](/files/-Mihr_4u6Gpc1Jc2QWNy) - [\[source code\]](https://github.com/ladybug-tools/dragonfly-grasshopper/blob/master/dragonfly_grasshopper/src//DF%20Deconstruct%20Model.py)

Deconstruct a Dragonfly Model object into all of its constituent Dragonfly objects.

## Inputs

* **model \[Required]**

  A Dragonfly Model to be deconstructed into into its constituent objects (Buildings, ContextShades).&#x20;

## Outputs

* **buildings**

  All of the Building objects contained within the input Model.&#x20;
* **context**

  All of the ContextShade objects within the input Model.&#x20;
