2014-08-05 19:25:18|?次阅读|上传:huigezrx【已有?条评论】发表评论
关键词:C/C++, CAA, CATIA|来源:唯设编程网
在其中:
● 添加了头文件包含语句:
#include "CATCreateWorkshop.h" #include "CATCommandHeader.h"
● 完成了用于实现工具命令的CreateCommands函数;
● 完成了用于添加工具栏的CreateToolbars函数;
3). Framework的“IdentityCard.h”文件:
// COPYRIGHT Dassault Systemes 2013
//===================================================================
//
// IdentityCard.h
// Supplies the list of prerequisite components for framework HelloWorld
//
//===================================================================
//
// Usage notes:
// For every prereq framework FW, use the syntax:
// AddPrereqComponent ("FW", Public);
//
//===================================================================
//
// Apr 2013 Creation: Code generated by the CAA wizard Administrator
//===================================================================
// DO NOT EDIT :: THE CAA2 WIZARDS WILL ADD CODE HERE
AddPrereqComponent("System",Protected);
AddPrereqComponent("ApplicationFrame",Protected);
AddPrereqComponent("Dialog",Public);
AddPrereqComponent("ObjectModelerBase",Protected);
AddPrereqComponent("ProductStructureUI",Protected);
AddPrereqComponent("MechanicalModelerUI",Protected);
// END WIZARD EDITION ZONE
如果需要使用其他Framework的资源,在这里进行引入。实际使用时可以使用向导完成,点击Define Prerequsite Frameworks...命令:
.jpg)
在弹出的对话框中添加你需要使用到的Framework,如下所示:

4). imakfile.mk文件