资源简介
AutoCAD ObjectARX/DBX 自定义实体,源码样例
VS2008+ARX2010编译通过,展示了自定义实体的派生,显示、DWG归档、DXF归档、变换、控制点、拉伸点等函数的重载
代码片段和文件信息
// (C) Copyright 2002-2007 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“
//-----------------------------------------------------------------------------
#define szRDS _RXST(““)
//-----------------------------------------------------------------------------
//----- objectARX EntryPoint
class CMAP140101App : public AcRxDbxApp {
public:
CMAP140101App () : AcRxDbxApp () {}
virtual AcRx::AppRetCode On_kInitAppMsg (void *pkt) {
// TODO: Load dependencies here
// You *must* call On_kInitAppMsg here
AcRx::AppRetCode retCode =AcRxDbxApp::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 =AcRxDbxApp::On_kUnloadAppMsg (pkt) ;
// TODO: Unload dependencies here
return (retCode) ;
}
virtual void RegisterServerComponents () {
}
} ;
//-----------------------------------------------------------------------------
IMPLEMENT_ARX_ENTRYPOINT(CMAP140101App)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2269 2010-05-07 15:28 MAP140101\MAP140101\acrxEntryPoint.cpp
文件 11212 2010-05-08 10:07 MAP140101\MAP140101\DBE140101.cpp
文件 4893 2010-05-08 00:04 MAP140101\MAP140101\DBE140101.h
文件 1672 2010-05-07 15:28 MAP140101\MAP140101\MAP140101.cpp
文件 2158 2010-05-07 15:28 MAP140101\MAP140101\MAP140101.rc
文件 9562 2010-05-07 22:54 MAP140101\MAP140101\MAP140101.vcproj
文件 2691 2010-05-15 17:51 MAP140101\MAP140101\MAP140101.vcproj.LYH-PC.李永华.user
文件 432 2010-05-07 15:28 MAP140101\MAP140101\Resource.h
文件 1371 2010-05-07 15:28 MAP140101\MAP140101\StdAfx.cpp
文件 2050 2010-05-07 15:28 MAP140101\MAP140101\StdAfx.h
文件 31661 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\acrxEntryPoint.obj
文件 15064 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\BuildLog.htm
文件 111865 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\DBE140101.obj
文件 658 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\MAP140101.dbx.em
文件 724 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\MAP140101.dbx.em
文件 616 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\MAP140101.dbx.intermediate.manifest
文件 3938 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\MAP140101.obj
文件 34406400 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\MAP140101.pch
文件 884 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\MAP140101.res
文件 67 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\mt.dep
文件 395927 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\StdAfx.obj
文件 1723392 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\vc90.idb
文件 2076672 2010-05-08 14:17 MAP140101\MAP140101\Win32\Debug\vc90.pdb
文件 25504768 2010-05-15 17:51 MAP140101\MAP140101.ncb
文件 1247 2010-05-07 15:28 MAP140101\MAP140101.sln
..A..H. 12288 2010-05-15 17:51 MAP140101\MAP140101.suo
文件 88064 2010-05-08 14:17 MAP140101\Win32\Debug\MAP140101.dbx
文件 9688 2010-05-08 14:17 MAP140101\Win32\Debug\MAP140101.exp
文件 853192 2010-05-08 14:17 MAP140101\Win32\Debug\MAP140101.ilk
文件 16332 2010-05-08 14:17 MAP140101\Win32\Debug\MAP140101.lib
............此处省略10个文件信息
相关资源
-
ob
jectArx通过Jig拖动绘制自定义实体 -
基于ob
jectARX的AUTOCAD二次开发文档 -
AutoCAD 2014 ob
jectARX API手册 开发文档 -
ob
jectarx wizard 2012配置与helloworld -
关于ob
jectarx中acedCmd和acedCommand -
EllipseJig_ob
jectARX - Arx自定义实体代码.rar
-
ob
jectARX2004 custom entity教程 -
按步骤教你如何创建自定义实体ob
- ARX实现屏幕菜单(CAdUiPaletteSet)
- ARX实现屏幕菜单DockControlBar)
-
用ob
jectARX开发AutoCAD 2000应用程序. -
ob
jectArx重载双击
评论
共有 条评论