Control Visibility (VV.VG) on linked files

How do i control visibilty for linked files? For eg… I am MEP coordinator and i have to link alot of archi and structure models. I have to untick reference line, reference plane and levels and grids in plan view, section and 3D view by creating of plan view template, section template and 3D templates. So when their models change name or new link are coming. I need to untick unnecessary category in three templates.

So is there a way to control visibility of linked files to all views within a template with usage of dynamo.