Secondary development based on the standard part interval of the new class control program

For the SolidWorks2001 system with parameterization function, the 3D standard parts library is only required to draw the template graphics of various standard parts, and then the program can drive the size to be modified. The specific scheme is as follows: by extracting the parameter size of the standard part from the database and the corresponding graphic template file,

For the SolidWorks2001 system with parameterization function, the 3D standard parts library is only required to draw the template graphics of various standard parts, and then the program can drive the size to be modified. The specific scheme is as follows: by extracting the parameter size of the standard part from the database and the corresponding graphic template file, the program is called SolidWorksAPI for size driving to meet the requirements of the new size, and the generated new model avoids repeated modeling of the same type of standard part, thereby Realize the establishment of a parameterized standard parts library. SolidWorks can exchange data with other CAD software through standard data format. Standard components generated in SolidWorks solid modeling environment can be saved in another format and then input into 3D modeling software such as ProPENGI-NEER, UG, MDT, SolidEdges. Design time selection for data sharing without having to create a standard parts library.

The extraction of data extraction data can be realized by various data interfaces such as OLEDB, ADO, and OD-BC. ADO (ActiveDataObject) is a connection mechanism that provides access to various data types. It is designed to be a very simple format. Any ODBC data source can be used through the OD-BC database interface. ADO is a component-based database programming interface. It is a COM component system that is independent of the programming language. As an alternative technology, ActiveDataObject is gradually replacing other data access interfaces. The system uses ADO technology as the data interface to complete the data operation, which not only ensures the reuse of the code and the efficiency of the operation, but also facilitates the integration with other CAD software systems.

SolidWorks2001 has powerful macro functions, which brings great convenience to programming. The only difference between standard parts of the same type and different specifications is that the parameter sizes are different, so there is no need to record the whole process of modeling, only the process of modifying all the drive sizes is recorded, and then the variables are used to replace the key data in the recorded macro file. The data of the variable is read and processed from the standard part series parameter table stored in the database, and finally the macro file is saved and applied to the application written by VB.

Secondary Development Example The following is an example of the steps to develop a common standard part hex bolt part library based on the SolidWorks2001 API.

(1) Establish a hexagonal bolt model with the national standard series size as the driving parameter in the SolidWorks2001 solid modeling environment, and record the process of modifying all the drive sizes. (2) In the Access2000 environment, the database file/hex bolt 1mdb0 is established according to the national standard GB30). (3) The program is programmed using the VB610 design interface. (4) Run the database according to the user's requirements, obtain the standard part parameter size data, select the corresponding standard part model file, and then drive the data according to the obtained data to generate the required 3D standard parts and return. To the user, its system structure is as follows: System structure block diagram below gives some code in the application: DimswAppAsObjectDimPartAsObject. Define object variables Dimd, s, h, m, 1, 10, ral, a2, aasdouble. Define parameter size The variable SetswApp=CreateObject(0SldWorks.

Fabric of  Anti-static FR Safety Vest is special, this high performance fabric is inherently flame retardant, extremely hard-wearing and durable, with a soft handfeel and excellent drape providing exceptional comfort for the wearer, the most important of it is anti-static thread which provides the protection against electrostatic discharge in areas where there is a risk of explosion. We can also meet the EN 1149 standard.

Anti-Static Fr Safety Vest

Anti-Static Fr Safety Vest,Fr Safety Vest,Fire Resistant Safety Vest,Safety Vest 3M

Xinxiang Zhongke Reflective Material Co., Ltd. , http://www.zkprotective.com