> 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/set_ground_top.md).

# Set Ground Top

![](/files/-MihrckCcOZ4XkFhI-6c)

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

Set Room2Ds or Stories to have their floor in contact with the ground or their roofs in contact with the outdoors.

## Inputs

* **df\_obj \[Required]**

  Dragonfly Stories or Room2Ds which will have its floor set to be in contact with the ground or its roof to be in contact with the outdoors.&#x20;
* **grnd\_contact**

  A boolean noting whether the input objects have floors in contact with the ground.&#x20;
* **top\_exposed**

  A boolean noting whether the input objects have ceilings exposed to the outdoors.&#x20;

## Outputs

* **report**

  Reports, errors, warnings, etc.&#x20;
* **df\_obj**

  The input Dragonfly object with its ground\_contact or top\_exposed properties edited.&#x20;
