# House Viewer Methods to interact with the house viewer interface: ```{figure} ../../images/houseviewer_interface.png ``` The house viewer allows your to see your house layout at a glance and move/rotate rooms. The functionality provided by the following functions was done from scratch but heavily inspired in Skunkworks original "layout_finder.simba". In other words, it provides you the ability to load the house layout from the viewer into {ref}`House` and it's {ref}`HouseLoader`. - - - ## THouseViewer Main record used to interact with the {ref}`House Viewer`. - - - ## HouseViewer.SetupInterface ```pascal procedure THouseViewer.SetupInterface(); ``` Internal method used to setup the {ref}`THouseViewer` coordinates. This is automatically called for you on the {ref}`HouseViewer variable`. - - - ## HouseViewer.LayoutBounds ```pascal property THouseViewer.LayoutBounds: TBox; ``` Internal property used to get the house layout bounds from the {ref}`THouseViewer`. - - - ## HouseViewer.LoadHouse ```pascal procedure THouseViewer.LoadHouse(); ``` Loads the current layout visible in the {ref}`HouseViewer` into {ref}`THouse` {ref}`HouseLoader` (`THouse.Loader`). For a easy usage of this and instant visualization of the results, check out: {ref}`ScriptForm CreateHouseTab`. - - - ## HouseViewer variable Global {ref}`THouseViewer` variable.