Viewport.Create doesn't see the sheets node

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:


Ekrānuzņēmums 2023-08-08 125253

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.

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

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.

1 Like