How to set the default visibility

Command: modDefVisibility

Description: Sets the default visibility. The attribute value can be set to visible or invisible or to the visibility of a picked component.