> For the complete documentation index, see [llms.txt](https://datashapes.gitbook.io/primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://datashapes.gitbook.io/primer/revit/replace-viewports-by-center.md).

# Replace viewports by center

## 1. Description

This node allwos you to replace a viewport by its center. You should have one viewport only on the selected sheet to be able to replace it.&#x20;

## 2. Inputs

* **Sheet(s)**

This input take a sheet or a set of sheets where you want to replace the viewport.&#x20;

* **Point(s)**

This input takes a list of points where the center of the viewport should be moved to.&#x20;

![](/files/-LZJrM8-u2wPAHzdZy36)

## 3. Output

* **OUT**

The node informs you whether the operation was a success or not.

![](/files/-LZJrH_-Ux3QaxJ36W1J)
