# Deconstruct Model

![](https://3405893330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9gBkJelXEQ5LsYEl7%2Fuploads%2Fgit-blob-02381de058be4f887e112ced6fbb424cb2d1e9a3%2FDeconstruct_Model.png?alt=media)

![](https://3405893330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9gBkJelXEQ5LsYEl7%2Fuploads%2Fgit-blob-a47d9b0e27a9db8d83f9912c0e762c336a201534%2FDeconstruct_Model.png?alt=media) - [\[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;
