资源简介
在高版本的objectarx中acedCmd和acedCommand 两个函数已经被其他函数替代,详情见文件

代码片段和文件信息
// (C) Copyright 2002-2012 by Autodesk Inc.
//
// Permission to use copy modify and distribute this software in
// object code form for any purpose and without fee is hereby granted
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty and
// restricted rights notice below appear in all supporting
// documentation.
//
// AUTODESK PROVIDES THIS PROGRAM “AS IS“ AND WITH ALL FAULTS.
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK INC.
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
// UNINTERRUPTED OR ERROR FREE.
//
// Use duplication or disclosure by the U.S. Government is subject to
// restrictions set forth in FAR 52.227-19 (Commercial Computer
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
// (Rights in Technical Data and Computer Software) as applicable.
//
//-----------------------------------------------------------------------------
//----- acrxEntryPoint.cpp
//-----------------------------------------------------------------------------
#include “StdAfx.h“
#include “resource.h“
#include“acedCmdNF.h“
//-----------------------------------------------------------------------------
#define szRDS _RXST(“AAA“)
//-----------------------------------------------------------------------------
//----- objectARX EntryPoint
class CAddCircle1App : public AcRxArxApp {
public:
CAddCircle1App () : AcRxArxApp () {}
virtual AcRx::AppRetCode On_kInitAppMsg (void *pkt) {
// TODO: Load dependencies here
// You *must* call On_kInitAppMsg here
AcRx::AppRetCode retCode =AcRxArxApp::On_kInitAppMsg (pkt) ;
// TODO: Add your initialization code here
return (retCode) ;
}
virtual AcRx::AppRetCode On_kUnloadAppMsg (void *pkt) {
// TODO: Add your code here
// You *must* call On_kUnloadAppMsg here
AcRx::AppRetCode retCode =AcRxArxApp::On_kUnloadAppMsg (pkt) ;
// TODO: Unload dependencies here
return (retCode) ;
}
virtual void RegisterServerComponents () {
}
// The ACED_ARXCOMMAND_ENTRY_AUTO macro can be applied to any static member
// function of the CAddCircle1App class.
// The function should take no arguments and return nothing.
//
// NOTE: ACED_ARXCOMMAND_ENTRY_AUTO has overloads where you can provide resourceid and
// have arguments to define context and command mechanism.
// ACED_ARXCOMMAND_ENTRY_AUTO(classname group globCmd locCmd cmdFlags UIContext)
// ACED_ARXCOMMAND_ENTRYBYID_AUTO(classname group globCmd locCmdId cmdFlags UIContext)
// only differs that it creates a localized name using a string in the resource file
// locCmdId - resource ID for localized command
// Modal Command with localized name
// ACED_ARXCOMMAND_ENTRY_AUTO(CAddCircle1App AAAMyGroup MyCommand MyCommandLocal ACRX_CMD_MODAL)
static void AAAMyGroupAddC
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-02-22 15:05 AddCircle1\
文件 2160 2019-02-21 17:25 AddCircle1\AddCircle1.cpp
文件 2166 2019-02-21 17:25 AddCircle1\AddCircle1.rc
文件 5199 2019-02-21 17:26 AddCircle1\AddCircle1.vcxproj
文件 1733 2019-02-21 17:25 AddCircle1\AddCircle1.vcxproj.filters
文件 1835 2019-01-31 10:52 AddCircle1\Autodesk.arx-2017-net.props
文件 5456 2019-01-31 10:52 AddCircle1\Autodesk.arx-2017.props
文件 1895 2019-02-21 17:25 AddCircle1\DocData.cpp
文件 1692 2019-02-21 17:25 AddCircle1\DocData.h
文件 1852 2019-02-21 17:25 AddCircle1\ReadMe.txt
文件 433 2019-02-21 17:25 AddCircle1\Resource.h
文件 1371 2019-02-21 17:25 AddCircle1\StdAfx.cpp
文件 3482 2019-02-21 17:25 AddCircle1\StdAfx.h
文件 6505 2019-02-22 09:19 AddCircle1\acrxEntryPoint.cpp
文件 635 2016-04-11 20:35 AddCircle1\crx.props
目录 0 2019-02-22 15:05 AddCircle2\
文件 2160 2019-02-21 17:34 AddCircle2\AddCircle2.cpp
文件 2166 2019-02-21 17:34 AddCircle2\AddCircle2.rc
文件 5199 2019-02-21 18:05 AddCircle2\AddCircle2.vcxproj
文件 1733 2019-02-21 17:35 AddCircle2\AddCircle2.vcxproj.filters
文件 1835 2019-01-31 10:52 AddCircle2\Autodesk.arx-2017-net.props
文件 5456 2019-01-31 10:52 AddCircle2\Autodesk.arx-2017.props
文件 1895 2019-02-21 17:34 AddCircle2\DocData.cpp
文件 1692 2019-02-21 17:34 AddCircle2\DocData.h
文件 1852 2019-02-21 17:34 AddCircle2\ReadMe.txt
文件 433 2019-02-21 17:34 AddCircle2\Resource.h
文件 1371 2019-02-21 17:34 AddCircle2\StdAfx.cpp
文件 3482 2019-02-21 17:34 AddCircle2\StdAfx.h
文件 6544 2019-02-21 17:45 AddCircle2\acrxEntryPoint.cpp
文件 635 2016-04-11 20:35 AddCircle2\crx.props
- 上一篇:51单片机三路循迹程序
- 下一篇:ysfGame.zip
相关资源
-
AutoCAD ob
jectARX二次开发实例-状态栏 -
ob
jectARX帮助文档 -
各版本的ob
jectARX Wizards for AutoCAD 文 - ARX二次开发精粹
-
AutoCAD ob
jectARXVC开发基础与教程201 -
ob
jectARX 自定义实体 源码 -
ob
jectArx通过Jig拖动绘制自定义实体 -
基于ob
jectARX的AUTOCAD二次开发文档 -
AutoCAD 2014 ob
jectARX API手册 开发文档 -
ob
jectarx wizard 2012配置与helloworld -
EllipseJig_ob
jectARX - Arx自定义实体代码.rar
-
ob
jectARX2004 custom entity教程 -
按步骤教你如何创建自定义实体ob
- ARX实现屏幕菜单(CAdUiPaletteSet)
- ARX实现屏幕菜单DockControlBar)
-
用ob
jectARX开发AutoCAD 2000应用程序. -
ob
jectArx重载双击
评论
共有 条评论