# PO\_RebuildRooms

Rebuild selected rooms with following options: 1) merge all coplanar faces; 2) rebuild all room faces; 3) reset all boundary conditions; In this command, it also checks all child objects (apertures and doors)'s normal to be matched with their host surfaces.

## Options

* **MergeCoplanar**

  set to true to merge all coplanar faces. This is similar to the Rhino's command MergeAllCoplanarFaces. (default:true)
* **RebuildFaces**

  when set to true, this option recreates each planar face from the duplicated naked edge curves of the original geometry. It is also useful for removing tiny "invalid" face with an area smaller than tolerance squared. Additionally, setting this to true will reset the face type based on its normal. Face type with AirBoundary will be kept even RebuildFaces is set to True. You can use PO\_ResetFaceType command to reset all room faces including air boundaries. (default:false)
* **ResetBoundaryConditon**

  when this option is set to true, it resets all faces's boundary condition to Outdoor. Unless a face is below the Z 0, then its boundary condition will be set to the Ground. (default:true)
* **FixApertureDoors**

  set to true to check all child objects (apertures and doors) to ensure they are coplanar with their host faces.


---

# 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.pollination.solutions/user-manual/rhino-plugin/pollination-commands/alphabetically/po_rebuildrooms.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.
