Research and Implementation of AutoCAD and PDM Information Integration Technology Scheme


At present, many enterprises use various software systems to realize the advanced management of computer network information chain in product design, process design, production planning, manufacturing, supply management, sales management and quality management. However, how to integrate information between these product design (CAD), process design (CAPP) and product data management (PDM), enterprise resource planning (ERP) and other software platforms has always been the concern of enterprises to build a comprehensive information management system. key problem.

1 AutoCAD development technology foundation

Many manufacturing companies use AutoCAD as the leading software for auxiliary design. How to further develop the functions of AutoCAD and establish the data transfer relationship with the database, so that the data information related to product design can be obtained conveniently, quickly and accurately for the PDM system. It is an important task for advanced development of AutoCAD system.

1.1 AutoCAD programming interface

AutoCAD provides an application programming interface (API) that developers can use to control graphics and databases. The type of interface used is determined by the needs of the application.

1) ActiveX Automation: is a technology developed by Microsoft based on the Component Object Model (COM) architecture. You can customize AutoCAD to share graphical data with other applications and automate tasks.

2) AutoCAD VBA: is an object-based programming environment that provides rich development capabilities. The main difference between VBA and VB (Visual Basic 6) is that VBA runs in the same process space as AutoCAD, providing a fast and fast programming environment with AutoCAD.

3) Auto LISP and Visual LISP: is a programming language based on the powerful LISP. Since AutoCAD has a built-in LISP interpreter, you can enter Auto LISP code on the command line or load Auto LISP code from an external file. VISual LISP (VLISP) is a software tool designed to accelerate the development of Auto LISP programs.

Using ActiveX interface in AutoCAD has the following two advantages: (1) Programmatic access to AutoCAD graphics in a variety of programming environments. Prior to the advent of ActiveX Automation, developers could only access AutoCAD graphics using the Auto LISP or C++ interface. (2) It is easier to share data with other Windows applications such as Microsoft Excel and Microsoft Word.

1.2 Develop programs with AutoCAD VBA

VBA sends information to AutoCAD through AutoCAD and ActiveX Automation interfaces. AutoCAD VBA allows Visual Bas. The ic environment runs concurrently with AutoCAD and provides programming control of AutoCAD through the ActiveX Auto-mation interface. This tightly links AutoCAD, ActiveX Automation, and VBA to provide a very powerful interface. It can not only control AutoCAD objects, but also send data to or extract data from other applications.

Integrating VBA into AutoCAD provides an easy-to-use visual T tool for custom AutoCAD. For example, a user can create an application that automatically extracts attribute information and inserts the results directly into an Excel spreadsheet or other database to perform any desired data conversion.

In fact, AutoCAD has a very complete secondary development function, it provides an application programming interface (API) through which a variety of applications can control graphics and databases, and can be used as Auto. Create and manipulate AutoCAD objects in any application of the mation control program. Automation makes it possible to compile macros that are executed across applications.

Next page

Timber and Wood Cutting Blade

Wood Saw Blade,Wood Cutting Blade,Timber Cutting Blade,Wood Bandsaw Blades

DONGYAN INTERNATIONAL CO LTD , https://www.topcutools.com

Posted on