• 大小: 1.53MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-22
  • 语言: 其他
  • 标签: IntelliCad  

资源简介

For CAD development would not have heard of the name of IntelliCAD, IntelliCAD is currently the latest version is 6.4, has been with the DWG 2008 format is fully compatible with ARX and began to support the development, provided here is similar to the development of ARX package DRX, the protection of complete header files and LIB library, as well as classic examples of eight procedures

资源截图

代码片段和文件信息

// BlockPropertiesSample.cpp : Defines the initialization routines for the DLL.
//

#include “stdafx.h“
#include “BlockPropertiesSample.h“



//二次开发必须包含这三个头文件
#include “../../../../inc/drx.h“
#include “../../../../inc/inclib.h“
#include “../../../../inc/incEntry.h“


#ifdef _DEBUG
#define new DEBUG_NEW
#endif

//
// Note!
//
// If this DLL is dynamically linked against the MFC
// DLLs any functions exported from this DLL which
// call into MFC must have the AFX_MANAGE_STATE macro
// added at the very beginning of the function.
//
// For example:
//
// extern “C“ BOOL PASCAL EXPORT ExportedFunction()
// {
// AFX_MANAGE_STATE(AfxGetStaticModuleState());
// // normal function body here
// }
//
// It is very important that this macro appear in each
// function prior to any calls into MFC.  This means that
// it must appear as the first statement within the 
// function even before any object variable declarations
// as their constructors may generate calls into the MFC
// DLL.
//
// Please see MFC Technical Notes 33 and 58 for additional
// details.
//

// CBlockPropertiesSampleApp

BEGIN_MESSAGE_MAP(CBlockPropertiesSampleApp CWinApp)
END_MESSAGE_MAP()


// CBlockPropertiesSampleApp construction

CBlockPropertiesSampleApp::CBlockPropertiesSampleApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}


// The one and only CBlockPropertiesSampleApp object

CBlockPropertiesSampleApp theApp;


// CBlockPropertiesSampleApp initialization

BOOL CBlockPropertiesSampleApp::InitInstance()
{
CWinApp::InitInstance();

return TRUE;
}


//装载命令
//命令名: blkprop
//命令组名: blkpropsample
//命令函数名: drx_cmd_blockproperties
DRXLOAD(“blkprop““blkpropsample““drx_cmd_blockproperties“drx_cmd_blockproperties);

void drx_cmd_blockproperties()
{
DrxSelect selSet;
//用户选择
for(;;)
{
int iRet = odre_ssget(NULLNULLNULLNULL&selSet);
if(iRet == rtNorm)
{
DRX_RES_INIT(_T(“BlockPropertiesSample.drx“));
DRX_RES_BEGIN(CBlockPropertiesSampleApp);
//调用对话框
MFCDlg mfcDlg(&selSetCWnd::FromHandle(odre_getmainhwnd()));
DRX_RES_END();
mfcDlg.DoModal();
}
else if(iRet == rtNone)
{
//空选择
continue;
}
else
{
//用户取消或选择错误
break;
}


}
}













 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      18445  2007-12-18 19:55  DRXSDK\inc\AbstractViewPE.h

     文件      23294  2007-12-18 19:55  DRXSDK\inc\AcadPalette.h

     文件       4021  2007-12-18 19:55  DRXSDK\inc\AcisRenderer.h

     文件        586  2007-12-18 19:55  DRXSDK\inc\BagFilerModule.h

     文件       1313  2007-12-18 19:55  DRXSDK\inc\BoolArray.h

     文件       2347  2007-12-18 19:55  DRXSDK\inc\Br\BrBrep.h

     文件       2690  2007-12-18 19:55  DRXSDK\inc\Br\BrBrepComplexTraverser.h

     文件       2602  2007-12-18 19:55  DRXSDK\inc\Br\BrBrepEdgeTraverser.h

     文件       2670  2007-12-18 19:55  DRXSDK\inc\Br\BrBrepFaceTraverser.h

     文件       2641  2007-12-18 19:55  DRXSDK\inc\Br\BrBrepShellTraverser.h

     文件       2668  2007-12-18 19:55  DRXSDK\inc\Br\BrBrepVertexTraverser.h

     文件       1730  2007-12-18 19:55  DRXSDK\inc\Br\BrComplex.h

     文件       2693  2007-12-18 19:55  DRXSDK\inc\Br\BrComplexShellTraverser.h

     文件       3287  2007-12-18 19:55  DRXSDK\inc\Br\BrEdge.h

     文件       2664  2007-12-18 19:55  DRXSDK\inc\Br\BrEdgeLoopTraverser.h

     文件       2246  2007-12-18 19:55  DRXSDK\inc\Br\BrEntity.h

     文件       2247  2007-12-18 19:55  DRXSDK\inc\Br\BrEnums.h

     文件       1670  2007-12-18 19:55  DRXSDK\inc\Br\BrExport.h

     文件       2775  2007-12-18 19:55  DRXSDK\inc\Br\BrFace.h

     文件       2626  2007-12-18 19:55  DRXSDK\inc\Br\BrFaceLoopTraverser.h

     文件       1764  2007-12-18 19:55  DRXSDK\inc\Br\BrLoop.h

     文件       4050  2007-12-18 19:55  DRXSDK\inc\Br\BrLoopEdgeTraverser.h

     文件       3006  2007-12-18 19:55  DRXSDK\inc\Br\BrLoopVertexTraverser.h

     文件       1761  2007-12-18 19:55  DRXSDK\inc\Br\BrShell.h

     文件       2642  2007-12-18 19:55  DRXSDK\inc\Br\BrShellFaceTraverser.h

     文件       1576  2007-12-18 19:55  DRXSDK\inc\Br\BrSystemInternals.h

     文件       2834  2007-12-18 19:55  DRXSDK\inc\Br\BrTraverser.h

     文件       1777  2007-12-18 19:55  DRXSDK\inc\Br\BrVertex.h

     文件       2398  2007-12-18 19:55  DRXSDK\inc\Br\BrVertexEdgeTraverser.h

     文件       2704  2007-12-18 19:55  DRXSDK\inc\Br\BrVertexLoopTraverser.h

............此处省略616个文件信息

评论

共有 条评论

相关资源