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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ladybug.tools/dragonfly-primer/components/0_create/set_ground_top.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
