I am looking for a way to change the visibility of frames from frames with a .net add on.
In fact, I want to have the option to do the same as this buttons in the interface.
In the documentation, I think this is the class I need to use, but I can not find an object from this class in the application, window, camera, …
That FrameTypeConfigElement is for storing those frame visibility settings in the user config file.
I think the easiest way to temporarily change what frames are visible is to use the ILayerControl interface.
You can [Import] it or use IoC.Get<ILayerControl>().
There are also some UI-side interfaces for manipulating those settings, but it is much more complicated.