Skip to content

tonybro233/CATIA-CAA-Auxiliary-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CATIA 3DEXP VS OS

Common framework for CAA development

In CAA development, 'framework' is the second level of code structure, there are basically three levels in order:

  • Workspace

  • Framework

  • Module

Workspace
├── Framework
│   └── CNext/
│   └── IdentityCard/
│   └── PrivateInterfaces
│   └── ProtectedInterfaces
│   └── PublicInterfaces
│   └── Module.m/
│   	└── LocalInterfaces/
│   	└── src/
│   	└── Imakefile.mk
│   └── Module2.m/
│   └── ...
├── Framework2
├── Framework3
├── ...

This repository provide three frameworks for common usage, if you want to use it, just put the source files into your own workspace and build it.

UtilityFW

This framework has two modules. CommonFuncMod provides static common methods, and these methods are divided into five files according to their's function. CommonToolMod is designed to provide instrument classes.

  • CommonFuncMod

    • GeneralEnhancement
    • PartEnhancement
    • PLMEnhancement
    • StringEnhancement
    • TopologyEnhancement
  • CommonToolMod

    • CsvReader

ExternalAppFW

This framework aims to provide ability to control external application. Now it can support Microsoft Excel(Office14 x86) and connection to SQL Server.

VisTempRepFW

If you want to develop some tools which have to use and select temporary component, you have to create some components implement specified interface(CAA use Component Object Model). This framework has done the fussy works for you, and you just have to import it.

// ======== include
#include "JNCITempFixArrowRep.h"

// ======== member   
private:
	JNCITempFixArrowRep		* _zArrow;
	JNCITempFixArrowRep		* _xArrow;
	JNCITempFixArrowRep		* _yArrow;

// ======== constructor 
YourCommand::YourCommand():
{
    ::CATInstantiateComponent("JNCTempFixArrowRepComp",IID_JNCITempFixArrowRep,(void**)&_zArrow);
    ::CATInstantiateComponent("JNCTempFixArrowRepComp",IID_JNCITempFixArrowRep,(void**)&_xArrow);
    ::CATInstantiateComponent("JNCTempFixArrowRepComp",IID_JNCITempFixArrowRep,(void**)&_yArrow);	
}

This framework has provided five kinds of temporary graphic components:

  • WireBox
  • Circle
  • FixedArrow
  • Point
  • Text

About

CATIA CAA secondary development auxiliary framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published