Put in half-tone all DWG links with Dynamo

Hello,
I’m looking for a way to automatically halftone DWG links in Revit with Dynamo. And if possible in all views at the same time…
I started to write this script but it does not work.
Does anyone have a solution to my problem? I specify that I want to work with DWG links, not with RVT.
Thank you!

Do you have any view templates applied? If so then you might need to filter the views with view templates out.

Hello @baptiste.nadeau1
in addition to @khronart’s remark
try cross product lacing
image

Hello,
Try to send a true on your hide node View.SetFilterOverrides

Cordially
christian.stan

This worked for me! thank you @c.poupin