Computer aided design software for designing a building or other structure of brick construction, where in addition to the usual three dimensional modelling and rendering typical of CAD software, tabular data describing the spatial location and orientation of each brick is provided, including information regarding which bricks are cut to length so as to be shortened, and where they are located along each course, and which bricks are machined, drilled or routed for services or other special fittings. Data pertaining to this is compiled in a database for access by control software to control a brick laying machine to build a building or other structure from bricks. The database may receive via interface with a scanner data being a measure of the elevation of the footings and/or concrete pad that has been constructed according to the building plan and for each brick of the first course, to determine how much material must be machined off the bottom of each brick so that when the first course is laid, the tops of