CAA and its application
First Aircraft Design Institute Liu Juntang
[Abstract] This article makes a more comprehensive and detailed introduction to the CAA (Component Application Architecture) products of Dassault Systems, including the architecture of the CAA product, the composition and options of the package. Finally, the installation and application of CAA also introduces it.
[Key words] Object-oriented programming, Component object model (COM) CAA RADE
I. Introduction to CAA
The Component Application Architecture (CAA) component application architecture is a powerful tool for Dassault Systems product extensions and customers for secondary development. In
The Dassault Systems for the trademark has formed six pillar products, integrated with PPR HUB, full management of the life cycle of the product.
Figure 1 DASSAULT Systems product structure logic relationship
These six products include:
Catia V5: Digital design and digital prototype technology.
Enovia: Product data management and collaborative working environment.
Delmia: Digital chemical plant, including process design, resource control, factory arrangement, and production simulation.
There is also SolidWorks, and SmartTeam can also be digitally designed and managed by the user. It is especially to mention Spatial, specializing in the development and research of CAA architecture.
PPR HUB is the core of Dassault Systems 3D Product Lifecycle Management (PLM) solution, ensures the integration between the three of Catia, ENOVIA, and DELMIA.
This set of solutions for Dassault Systemes is beneficial to open, scalable modular development architecture CAA, enabling many developers worldwide to participate in research and development of Dassault Systems.
For the customer, CAA can perform from simple to complex secondary development, and the combination of the original system is very close, if there is no special instruction, it is impossible to distinguish the functions developed from the original system, which is very It is conducive to the user's use and integration.
The implementation of CAA is done by the provision of fast application R & D environment Rade and different API interface programs.
Quick Application R & D Environment Rapid Application Development Environment (Rade) is a visual integrated development environment that provides a complete programming tool group. In fact, RADE adds Microsoft Visual Studio VC to the vectors, adding CAA development tools in the VC environment.
The API provides methods, tools, and interfaces for manipulation of various objects.
The CAA products provided by Dassault System include the following:
l Caa Rade rapid development environment based on Microsoft Visual Studio
l Caa Catia V5 API, Catia V5 Application Development Tools
l Caa Enovia LCA V5 API, ENOVIA LCA App Development Tools
l CAA DELMIA V5 API, Delmia V5 Application Development Tools
l Caa Enovia Portal V5 API, ENOVIA Portal V5 Application Development Tools
Second, CAA architecture
In the field of software development, use object-oriented programming (OOP: Object-oriented-programming) has become the mainstream of software development design, which brings a lot of benefits for the development of software: reuse, abstract, encapsulation, etc. . Software experts see software development as a combination of objects. Object-oriented programming is a programming method, and the component object model (COM) and object connection and embedding (OLE) technology are built on object-oriented programming, so that the programming is easier and tended to standardize. The program is more simple and clear. Microsoft is the ancestors of COM and OLE, based on this technology, such as Microsoft Word, Execl, Access to be widely used and admitted, and many applications are also based on this technology, and CAA is based on this technology-based Windows application software. .
figure 1
The architecture of the CAA product can be represented by Figure 1. It fully reflects the relationship between Dassault Systems. Under the support of the CAA architecture, the Dassault Systems system can be established like a wood, which is very suitable for the growth and development of the system. Table 1 lists some companies developing applications for Dassault Systems in Catia V5 applications.
Table 1 Catia V5 Software Partner
No. partner products 1CADDAM Systems company Inc. Helix Integration / Environment V1R4 CAA V5 Based / Helix Direct Interface (HDI) CAA V5 Based2Dimensional Control Systems Inc.3DCS Analyst CAA V5 Based / 3DCS Designer CAA V5 Based3Trace PartsTrace Parts CAA V5 Based4T-Systems ITS GmbHVAMOS CAA V5 Based5Metalsoft Inc.Fabriwin CAA V5 Based6Mechanical Dynamics Inc.Dynamic Designer CAA V5 Based7LMS InternationalLMS Virtual.Lab AcousticsLMS Virtual.Lab Noise and VibrationLMS Virtual.Lab DurabilityLMS Virtual.Lab Motion8ICEMCFDICEM CFD Hexa CAA V5 Based9AIKOKU ALPHA ENGINEERING CORP.AIKOKU Post for 4 axis CAA V5 Based / AIKOKU Post for 5 axis CAA V5 Based10CENIT AG SystemhausCUT4AXES CAA V5 Based11EADS Matra DatavisionEUCLID3 Connectivity CAA V5 Based12ZEH SoftwareZEHSever CAA V5 Based13Infrastructure InterfaceCOM / VDAFS CAA V5 Based
In terms of business operations, like the Dassault Systems system, CAA is also divided into a software package (Product), and users should choose the appropriate configuration and product as needed when purchasing CAA.
Current CAA has five configuration packages:
l CAA-MULTI-WORKSPACE Application Building (ABC)
Basic configuration of CAA applications.
l CAA-C Extended Development (CDC) provides a development environment coexisting with C , ie customized C development environment, users can use unique development tools provided by CAA in addition to all tools for C development environments. Can be used for secondary development of Catia and ENOVIA.
l CAA-C Base Development (CDV)
Similar to CDC, small size, targeted for the CATIA V5 and ENOVIA LCA.
l CAA-Java Base Development (JDV)
Running in the Java development environment, suitable for customization of the ENOVIA LCA client.
l Caa-Legacy Data Integration Development Configuration (LDC)
Provide a data interface tool that allows the user to inherit the original data.
Products (modules) provided by CAA include:
l CAA-C API Documentation Generator (CDG).
l CAA-C Source Checker (CSC)
l Caa-Caa Data Model Customizer (DMC)
l Caa-Java UnitTest Manager (JUT)
l CAA-MULTI-WORKSOACE Application Builder (MAB)
l Caa-Teamwork RELEASE Manager (TRM)
l CAA-C Interactive Dashboard (CID)
l CAA-C Unit Test Manager (CUT)
l Caa-Java Interactive Dashboard (JID)
l CAA-Web Application Generator for Legacy Database (LWG)
l Caa-Source Code Manager (SCM)
figure 2
Figure 3 shows a matrix diagram of the CAA product configuration and the products thereof. The function of each module is no longer explained. If the reader needs to refer to the relevant information or access to the CAA website.
Third, CAA installation
CAA installation includes two parts, one is installation of Dassault Systems related applications, such as Catia V5, Enovia; Second, CAA itself installation.
Before installing CAA, confirm the consistency of the Dassault Systems application and the CAA version, even consider the consistency of the two patchs, otherwise CAA will not be used. The following is installed as an example with the CATIA V5R9 GA version of Dassault Systems, and the CAA's CDC is installed as an example to briefly describe the installation process of the CAA.
Suppose the user purchases the right of Catia V5R9 and CAA CDC and has the corresponding product license.
Follow the steps below to install CAA usually use CAA:
l Install the Catia V5R9 GA version, if you have already installed, you can ignore this step;
l Install the CATIA V5R9 API (This product is a CAA category), the API is automatically installed in the directory where the CAA Rade does not recognize the name of the space with spaces, so you must customize the installation location. And the directory name cannot contain spaces. l Installation of Microsoft Visual Studio V6.0;
l CAA Rade installation, you must install Microsoft Visual Studio V6.0 before the CAA Rade installation, and not to keep the CAA Rade in the Catia installation directory, the installation path does not have spaces.
Through the above four steps, the installation of CAA is completed, but to use CAA, the authentication and environment of the Rade product must be performed.
l Rade product certification, start Rade Tools licensing by command:
C:> $ rade_installation_path $ / intel_a / code / bin / catvbtlicenser.exe
Here $ rade_installation_path $ is the installation path of the Rade.
Figure 2 Rade license configuration window
Select a valid license to determine it.
l Install the online help to provide CAA help in the Rade development environment.
C:> $ rade_installation_path $ / intel_a / code / bin / catvbtsetup.exe
Here $ rade_installation_path $ is the installation path of the Rade.
Select Documentation to specify the path to the help document (in the CATIA installation directory).
Fourth, CAA starts
The following is a brief introduction to the use of CAA Rade.
l Start Microsoft Visual C , select Tools-> Customize ..., select on the pop-up menu
Add-INS AND MACRO FILES, select the related coupons, close the window, exit Microsoft Visual C . This step must be done in the first use of CAA RADE.
l Restart Microsoft Visual C , the Help window of the CAA Rade appears. In the menu bar, two new menu items, Caav5 Workspace and Source Code Manager, which are the menu item added by CAA Rade.
In addition, expand other menu items, such as Project, you can look at
The menu item of the icon head is also a menu item for the CAA Rade. To this end, we can use CAA Rade to develop Catia V5R9 user customer-clever programs.
V. CAA application example
To help users familiar with CAA Rade development environment and tools, Dassault Systems each provide many application examples, such as Catia V5R9 provides examples related to developing Catia, and users can even change their own products. . When installing the CATIA API, the application example is installed in the Caadoc folder under the CATIA directory. All examples of folders are ended with .edu. In order to prevent the destruction of the original example document, copy the Caadoc folder can be copied to other places (such as copying the Caasystem.edu to E: / V5R9 / UserCaseWorkspace), and perform programming with this as a target.
l Start Microsoft Visual C , select the Open CAA V5 Workspace command under the FILE menu. a, select MKMK in the Open WITH Options list, MKMK is the consecutive command provided by CAA RADE.
B. Specify the folders in the Workspace Directory text box, such as the E: / V5R9 / UserCaseWorkspace of this example. Workspace in CAA Rade is where Project exists.
c, select V5R9_T09 in the Toollevel option list.
Click OK, RADE to perform the initialization of this use, display the related windows and information.
Because there is no project Project in the new Workspace, CAA Rade will generate one for the user and give a prompt.
l Select module
After Project generation, CAA Rade requires the module that the project is selected, where we choose CaasysCallback.m.
Click OK, Rade prompts users to connect the repository, Rade called it as Prerequisite Workspace. This is an ideal understanding, because the examples and their users have written in the Dassault Systems application system environment, you must integrate the Dassault Systems resources and the user's customization.
Click OK, Rade Displays the structure of the sample program, including classes, and files.
l Define Prerequisite Workspace, select menu item locate prerequisite workspace in the CAAV5 Workspace menu ....
a, select the Access Prerequisites from Their Origin Location.
B. Under Origin for Prerequisite Frameworks, add Catia's resources to Prerequisite Workspace. The method is to click Add .... Click OK, Rade call the relevant resources.
l The program of the program, select the mkmk command under the Build menu. See the figure below for the relevant options in the Code Builder (MKMK) window that appears.
Click OK, and Rade begins to establish a configured code.
l Establishing the DEBUG, running the program, under the CAAV5 Workspace menu, select Create / Update Runtime View ..., select All in Create RuntimeView.
Click OK, Rade pops up the relevant window.
Set the Project of CaasysCallback.m to the activated state, Class View or File View Right-click CaasysCallback.m Classes.
Select SET AS ACTIVE Project.
l When you run an example, specify the address of the sample program to execute the code. Select Settings ..., Rade pop-up the Project Settings window in the Project menu. Specify the address of the sample program to execute the code at DEBUG. Click OK.
Under the Build menu, click the Execute CaasysCallback.exe running program.
Sixth, conclusions.