If you know what object is going to be invisible you can use a global variable (or a Dictionary entry) that says--set to invisible. Then when you enter the layout you can set it to invisible based on the variable. However, while you are not on the layout the object is in you can't set it invisible (unless it is global).