文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 工程科技 > 信息与通信 > Creation addin
侵权投诉

Creation addin

This use case is intended to show how to create an add-in to a given workbench.CATIA CAA二次开发

Step Where LocalInterfaces and src CreateCommands method CreateToolbars method Create the add-in description class Create the command headers Create the add-in and arrange the commands

Provide the resources Resource files

[]

Creating the Add-in Description Class

1. Create the CAAAfrGeoOperationAdn.h file #include "CATBaseUnknown.h" // Needed to derive from CATBaseUnknown

class CATCmdContainer; // Needed by CreateToolbars

class CAAAfrGeoOperationAdn : public CATBaseUnknown

{

CATDeclareClass;

public:

CAAAfrGeoOperationAdn();

virtual ~CAAAfrGeoOperationAdn();

void CreateCommands();

CATCmdContainer * CreateToolbars();

};

2. Create the CAAAfrGeoOperationAdn.cpp file // Local Framework

#include "CAAAfrGeoOperationAdn.h"

// ApplicationFrame Framework

#include <CATCreateWorkshop.h> // To use NewAccess - SetAccess -

SetAccessChild ...

// Declaration of a new Command Header Class

#include "CATCommandHeader.h" // See MacDeclareHeader(CAAAfrGeoOperationAdnHeader);

CATImplementClass(CAAAfrGeoOperationAdn, DataExtension,

CATBaseUnknown, CAAAfrGeoOperationAddin);

#include <TIE_CAAIAfrGeoCreationWkbAddin.h>

第1页

你可能喜欢

热门文档

相关文档

  • 详细例子介绍

    CAAAfrGeoCreationWkbFactory TIE_CAAIAfrGeoCreationWkbFactory TIE class for the factory interface CAAIAfrGeoCreationWkbAddin Add-in interface exposed by the ...

  • CAA插件的开发方法(CATIA二次开发)

    插件的开发方法 2004-8-24 一、创建插件接口 1.1 头文件如: #ifndef CAAIAfrGeoCreationWkbAddin_h #define CAAIAfrGeoCreationWkbAddin_h // ApplicationFrame ...

  • CAA用户界面开发——实例说明(CATIA二次开发)

    CAAAfrGeoCreationWkbFactory TIE_CAAIAfrGeoCreationWkbFactory TIE class for the factory interface CAAIAfrGeoCreationWkbAddin Add-in interface exposed by the ...

  • 第07章:对象的创建与反射技术

    2、CentralizeObjCreation2Factory Common ICommand FileClose FileClose FileOpen ...每个插件(Addin)均包括一个DLL与一个配置文件 ? 主系统检索插件目录及其所有子...

  • MEF

    如果你在项目中添加 System.AddIn.dll 的引用,你就可以看到 System.AddIn 的名...(IAspect), AllowRecomposition = true, RequiredCreationPolicy= CreationPolicy....

  • 怎样构造带网络的模型

    (edge); nodeB.addInEdge(edge); Here two Nodes are created, and Edge is...to use the EdgeFactory class to automate edge creation and linking for you...

  • Android_Launcher详解

    () // 方法,它实现很多接口 /** * Displays the shortcut creation dialog ...mRestoring) { final View view = createShortcut(info); mWorkspace.addIn...

  • CATIA二次开发详解点汇总

    4.TIE_CATIPrtWksAddin(NewAddin) : NewAddin 是一个 Component ,它实现了接口...2、 添加工具条及按钮 首先创建按钮的描述类 CAAAfrGeoCreationWkb ,派生于 ...

  • revit的api编程2

    .com/blog/page/4/ 2014/4/15 RevitNetAddinWizard & NavisworksNetAddinWizard 页码,3/21 Here we go for the source code for the Round Tower creation. ...

  • GIS应用开发3-ArcEngine入门

    Map Presentation—ArcObjects for map creation and display with symbology, ...ESRI Automatic Reference addin 开发控件类库 contains the MapControl, ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email