It looked fine in the editor. I typed it in manually rather than pasted it and then it ran OK. Some invisible formatting stuff must've been there. I can only assume you're creating your source brick walls in a completely different way to me, because all I get is a few random faces duplicated. I tried building it brick by brick, or by subdividing a cube but it's not producing anything but a few odd cubes and faces. Any chance you could post a scene that you got it to work with? If not, no sweat, I may be able to get some clues from your code, but I'm intigued as to what your results are. foursheds@btinternet.com