| In the development of Parts Library in accord with International Standard, neutral geometric graphics programs for GB parts have been written in EXPRESS provided by ISO 13584, conversion interface between the neutral geometric figure programs and GRIP of UG has been developed. Thus a user library, and a library management system (LMS) are required. In this paper, the key techniques in building the Parts Library and in LMS are described in detail.Using SQL Server 2000 as database server, the parts library contains the basic information such as part name, GB number, the GRIP code , and parameters for each national standard mechanical part. It runs in the background. Thus users can get data from the part library by means of the LMS.Based on the operation system of Windows 2000, using UG as development plat, VC++6.0 as development tool, the library management system runs in the UG environment. Once UG starts up , user menus are loaded. If the "All GB Parts" button is clicked, the Query Module is activated. This module is a dll program, written with UG /OPEN API. Then the system calls Query.dll, the interface program. In Query.dll, some MFC classes are called. Now, users can select a GB part and its parameters . Lastly, a 3D model is created by UG.Similarly, the Modify Module is activated when users click the Modify Library button. Its main functions include: validating login ID, changing user password, modifying the data, adding or deleting the records in the part library.A 3-layer protection scheme for the parts library is presented. This scheme contains three parts: setting user accounts for SQL Server 2000 , setting an application role for the library, setting user accounts for the LMS.A library management system running in UG was developed. Somekey techniques in designing and building the parts library are described in detail. The principles of this project can be applied to other CAD application systems. |