In this post, i will show you how to set the layout of Page in HyperView.
proc SetPageLayout {typeId} {
set t [clock click]
hwi OpenStack
hwi GetSessionHandle mySession$t
mySession$t GetProjectHandle myProj$t
myProj$t GetPageHandle myPage$t [myProj$t GetActivePage]
myPage$t SetLayout $typeId
myPage$t ReleaseHandle
myProj$t ReleaseHandle
mySession$t ReleaseHandle
hwi CloseStack
}
all you have to do is call this procedure in tcl script.
example: SetPageLayout 1

example: SetPageLayout 7

Hope this is useful for you
Cudaisoai