# Dublicate views when rename it

**URL:** <https://forum.dynamobim.com/t/dublicate-views-when-rename-it/92218>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [July 26, 2023, 2:25pm UTC](https://forum.dynamobim.com/t/dublicate-views-when-rename-it/92218 "2023-07-26T14:25:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniils.klekers](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@daniils.klekers](https://forum.dynamobim.com/u/daniils.klekers)\
**Post date:** [July 26, 2023, 2:25pm UTC](https://forum.dynamobim.com/t/dublicate-views-when-rename-it/92218/1 "2023-07-26T14:25:38Z")

</div>

Greetings!  
I’m very sorry for simple questions in the beginning but i’m trying to figure out how everything is going.  
I’m trying to create script to rename the the existing views and all other sheets in the future with input.  
But during the process i have same problem what i can not solve. In the beginning the views do not rename, it dublicate it and then gives correct names. How i should change the beginning to modify existing views, not double it?

 ![View](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/4/d4ee207312e1d273893162669f4c5067cc3f2d4f.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [July 26, 2023, 2:28pm UTC](https://forum.dynamobim.com/t/dublicate-views-when-rename-it/92218/2 "2023-07-26T14:28:01Z")

</div>

1. Create your view list.
2. Get the list of existing views.
3. Calculate the number of new views needed and create them.
4. Combine the new and existing views and rename.

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [July 27, 2023, 7:21am UTC](https://forum.dynamobim.com/t/dublicate-views-when-rename-it/92218/3 "2023-07-27T07:21:28Z")

</div>

Friendly reminder to **read** what a Node does.  
The FloorPlanView.ByLevel **creates** Views by Level. Thats why you get duplciates.  
But as you want to **rename** the Views you need other Nodes.
