1. An apparatus for generating a two- or three-dimensional geometric model comprising: means for generating bidirectional dependency relation expressions from geometric constraints between a plurality of geometric elements; means for obtaining a dependency condition of said geometric elements using said bidirectional dependency relation expressions; means for determining an attribute value for each said geometric element from said dependency condition; and means for generating a two- or three-dimensional model from said geometric elements and said attribute values thereof.