I have a drawing with 2 viewports on the "Layout1" tab. I know how to select the Layout tab using ThisDrawing.ActiveLayout = ThisDrawing.Layouts.Item("Layout1") Once I make Layout1 tab active, I want to freeze all layers except a layer called "Panel1" and then zoom extents in the first viewport. I then want to freeze all layers except a layer called "Panel2" and then zoom extents in the second viewport. Can someone give me guidance on this. Thanks