I am wanting to enable the CAD file, do some stuff, then disable it again. So a view template wont work and I have to disable the CAD file for every view.
I achieved what I was looking for by using View.SetCategoryVisibility from MEPover . I selected the element I wanted and fed that into an Element.GetCategory node that was then fed into the SetCategoryVisibility node. Then I used View.All from Orchid to apply the change to all views.