Have you tried using property scripts.
If you havent tried them, read the basics from the help files and ask for more help here.
The basic procedure will be add 2 entries in the property script.
One for bricks (witch will be based on surface of wall) and will result in number of bricks, and insulation witch will be the same..