# Set Ground Top

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

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