# Viewport.Create doesn't see the sheets node

**URL:** <https://forum.dynamobim.com/t/viewport-create-doesnt-see-the-sheets-node/92689>\
**Category:** Revit\
**Tags:** revit, rhythm, dynamo\
**Created:** [August 8, 2023, 9:53am UTC](https://forum.dynamobim.com/t/viewport-create-doesnt-see-the-sheets-node/92689 "2023-08-08T09:53:04Z")\
**Posts on this page:** 4\
**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:** [August 8, 2023, 9:53am UTC](https://forum.dynamobim.com/t/viewport-create-doesnt-see-the-sheets-node/92689/1 "2023-08-08T09:53:04Z")

</div>

Trying to make a script for legend views to place it on the layout.  
Suddenly Viewport.Create want to see another type of sheet node.  
Screenshots bellow:

 ![wrong sheets information](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/8/488562152546ad0c6aa9131758f7aa852eaac860.png)  
 ![Ekrānuzņēmums 2023-08-08 125253](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/5/d5a42307deb80eeea4f2936effce3eb4bb967d7f.png)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [August 8, 2023, 10:10am UTC](https://forum.dynamobim.com/t/viewport-create-doesnt-see-the-sheets-node/92689/2 "2023-08-08T10:10:44Z")

</div>

This warning is saying this:

> The node expects:
> 
> - Revit Sheet
> - Revit Element
> - Dynamo Point

> But the node got:
> 
> - Revit Sheet
> - String
> - Dynamo Point

Looks like your 2nd input (`view`) is a string, not a view element.

---

<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:** [August 8, 2023, 10:36am UTC](https://forum.dynamobim.com/t/viewport-create-doesnt-see-the-sheets-node/92689/3 "2023-08-08T10:36:43Z")

</div>

Thank you!  
I have just solve this problem, but it doesn’t work anyway…

 ![Ekrānuzņēmums 2023-08-08 133615](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/3/a35579ccda3fe873dcc71d2eb3d8628b12943cac.png)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [August 8, 2023, 11:31am UTC](https://forum.dynamobim.com/t/viewport-create-doesnt-see-the-sheets-node/92689/4 "2023-08-08T11:31:27Z")

</div>

Looks like you’re in Revit 2024. Make sure you’re in the latest version of Rhythm, as Revit 2024 changed Element ID from a 32 bit integer to a 64 bit integer.
