Introduction to the program of Object development standard parts

The goal of developing a standard CAD application with ObjectARX is that by selecting the type and basic parameters of the standard part, the program should be able to automatically query other relevant parameters and call the relevant commands to draw an assembly drawing that conforms to the national standard. In other words, the main problem solved in the program is the management, query and drawing of standard parts data. Drawing is not difficult due to the fixed structure of the standard parts and sufficient data. However, for a certain type of standard parts, because of its large series and large data, data management and query are relatively more important and more difficult to implement. A database can be used to describe the contents of the data sheet in the design manual. When the system makes a logical judgment, it only needs to query the corresponding standard part library name according to the type of the standard part, then access the relevant standard parts library, query the qualified records, select the drawing field, and complete the standard part data. Inquire. This standard part database description makes the management of standard parts data easier and easy to share with other applications, greatly improving the system's adaptability. The Visual Foxpro database is divided into three layers: database, data table and record in the information storage structure. Using the hierarchical structure of the database to decompose the standard parts library into multiple subspaces is beneficial to improve the query efficiency of the system. Correspondence between the file structure of the standard parts library and the standard part type library structure: The data table in the standard part library structure standard parts library is generally the data table in the design manual plus a national standard field, but the order should be slightly adjusted. For convenience, the field name is taken from the name in the data sheet in the design manual, and the GB field name is GB.

In order, GB is the first field name, followed by the nominal size field of the standard part (such as the nominal diameter D of the Screw), then the other size fields required to draw the standard part, and finally the remaining size fields. Records in the standard parts library should be sorted by GB as the first field and nominal size as the second field, so that the data can be queried by the binary search method. The fields in the standard part type library contain four fields: the standard part library name field, the standard part Chinese description field, the GB field, and the required size field for drawing standard parts.

Compression Springs

China Compression Springs Stainless Steel Compression Spring

Compression Springs,Heavy Duty Compression Springs,Stainless Steel Compression Springs,Metal Springs Compression

applicaiton: viation,automotive, motorbike, bicycle, automatic equipment, household appliance, medical device ,toy, telecommunication,computer, instrument and meter,furniture, electric tools,mold and other industries

China leading manufacturers and suppliers of Compression Springs,coil spring,compress spring coil,Heavy Duty Compression Sprins,Stainless Steel Compression Spring,Metal Compression Spring, etc.

coil spring,compress spring coil,Heavy Duty Compression Sprins,Stainless Steel Compression Spring,Metal Compression Spring

Shenzhen Lanejoy Technology Co.,LTD , https://www.brassinsert.net