# 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;


---

# 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/dragonfly-primer/components/0_create/set_ground_top.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.
