House Viewer¶
Methods to interact with the house viewer interface:
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.
THouseViewer¶
Main record used to interact with the House Viewer.
HouseViewer.SetupInterface¶
procedure THouseViewer.SetupInterface();
Internal method used to setup the THouseViewer coordinates. This is automatically called for you on the HouseViewer variable.
HouseViewer.LayoutBounds¶
property THouseViewer.LayoutBounds: TBox;
Internal property used to get the house layout bounds from the THouseViewer.
HouseViewer.LoadHouse¶
procedure THouseViewer.LoadHouse();
Loads the current layout visible in the HouseViewer into
THouse HouseLoader (THouse.Loader).
For a easy usage of this and instant visualization of the results, check out: ScriptForm CreateHouseTab.
HouseViewer variable¶
Global THouseViewer variable.