This paper outlines the processes involved in the design of the Smithsonian Institutionis Patent Office Buildingis new courtyard enclosure. In 2004, Foster + Partners won an invited international competition to design the new courtyard enclosure in Washington, D.C. Early in the project, the Specialist Modelling Group (SMG), an internal research and design consultancy, was brought in to advise the project team on computer modelling techniques, develop new digital design tools, and help solve the complex geometric issues involved. Throughout the project, computer programming was used as one of the primary tools to explore design options. The design constraints were encoded within a system of associated geometries. This set-out geometry performed as a mechanism to control the parameters of a generative script. The design evolution involved the use of many different media and techniques and there was an intense dialog between a large team and many consultants. The computer script was a synthesis of the design ideas and was constantly modified and adapted during the design process. The close collaboration between architects, consultants, and fabricators was of key importance to the success of the project. This project, now named The Robert and Arlene Kogod Courtyard, will complete in late 2007.