Hide linked doors in view

I want to hide in view some linked doors according to their Level parameter,
I created this graph but the doors didnt hide.
any idea about the reason?

Hi @rinag,

Have you tried to do this in Revit?

sure , it works ,
the issue that i have a lot of doors so cant do it manually it Revit.

I’m pretty sure you can’t accomplish what you are trying to do, when the door is in a linked file, unless this functionality was introduced in R2020.

It is accomplishable via a filter though.

Martin is correct, sadly you cannot accomplish this through the Revit API (and thus Dynamo).