Filter Legend Views from Sheet

Hi all,

I’m trying to get Legendviews out of my list of views that are on my sheets. Im doing this by comparing the View Id of the Legendview and the view ID on my sheet. However somehow it is not working. I use this method a lot for filtering stuff but this time it is failing and I have no idea why. Are Legendviews treated differently then regular views or something like this?

thanks in advance!

Hi @d.jansenMM3LJ,

I’ve made two nodes that could help you.

The Set different node worked great to seperate the legend views from the other views on the sheet!

I am trying to read the Scale parameter from the Sheet ( so I can automatically fill this in, while when there are different scales on the sheet I get the Scale as indicated notification ). My question now is how do I go from views on sheet to the actual sheet. It worked with viewports, to read out the right parameter, but it doenst work for views though. Any help perhaps?

LOL. We were doing this so we didnt have the As indicated on the sheet, but we decided to accept it. So it is native Revit now. Never mind the script!