Just to add some additional context...the ObjectVisibility object mentioned here coincides with a tool you can manually access from Inventor's ribbon. On the 'View' tab, within the 'Visibility' panel, is a button with a drop-down control named 'Object Visibility'. When you click that drop-down, you will see all these same object types, with checkboxes next to them. Even though these settings are accessed from the main ribbon, they only effect the document that is 'active' when you set them. And as already mentioned, I don't believe those settings get saved to that document's file.

On the other hand, when you right-click on a UCS in the model browser tree of an assembly, and choose the 'Visibility' control, that is actually changing its visibility in a way that will be saved by the currently active view representation (DesignViewRepresentation ), in the assembly, and possibly in the referenced model document also.
Wesley Crihfield

(Not an Autodesk Employee)