House Viewer

Methods to interact with the house viewer interface:

_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 House and it’s HouseLoader.


TRSHouseViewer

Main record used to interact with the House Viewer.


HouseViewer.SetupInterface

procedure TRSHouseViewer.SetupInterface();

Internal method used to setup the TRSHouseViewer coordinates. This is automatically called for you on the HouseViewer variable.


HouseViewer.SetupInterface

procedure TRSHouseViewer.SetupInterface();

Internal method used to setup the TRSHouseViewer coordinates. This is automatically called for you on the HouseViewer variable.


HouseViewer.LoadHouse

procedure TRSHouseViewer.LoadHouse();

Loads the current layout visible in the HouseViewer into TRSHouse HouseLoader (TRSHouse.Loader).

For a easy usage of this and instant visualization of the results, check out: ScriptForm CreateHouseTab.


HouseViewer variable

Global TRSHouseViewer variable.