A shape optimization capability which is fully integrated with geometry data is developed in this paper. A key feature of the system is the direct use of parametric solid model as the primary design model for shape optimization. This choice leads to a tight coupling between optimization and geometry, a highly desirable feature for an automated design environment. The approach exploits the parametric engine of the solid modeler to update the geometry at the end of each iteration. Responses are generated using polyFEM, a p-adaptive solver supported by a fully automatic three dimensional p-element mesh generator. It is illustrated that the use of p-adaptive technology and parametrized solid model assist us in achieving a high degree of automation.