View to Sheet - Viewport.Create Error

Hello Community,

I’m hoping someone can help me figure out what I am doing wrong here. I’ve not used this rhythm node before and i’m not sure which input I have incorrect.


You’re providing view and sheet names rather than the actual elements. You need to filter the correct list and provide the actual Revit element in both cases.

1 Like

hmm i’m not sure how I can do that… I have to convert the list to a name so I can cross reference it with my excel, so how do I put that list back to elements?

You don’t have to put anything back together. You use the element’s properties to check your conditions and then return the item at the matching index (GetItemAtIndex). Right now you’re getting the items from the names lists instead of the elements lists. You can just plug in the list of elements for each case instead.