- 博客(5)
- 收藏
- 关注
原创 自定义实体如何存储业务数据
在做ObjectArx开发时,常会用到自定义实体。在某些场景需要用到自定义实体存储业务数据,当业务数据比较大时(超过1M),对实体进行写操作会影响运行效率。此时就需要考虑其他方法。对于云产品而言首选数据库,本文讨论的是单机版。CAD为每个实体提供了扩展词典,参照以下三个方法:Acad::ErrorStatus createExtensionDictionary();AcDbObje...
2020-03-19 15:02:28 337
原创 SHGetFolderPath
使用SHGetFolderPath 获得系统文件夹路径Const CSIDL_ADMINTOOLS As Long = &H30 '(用户)\开始菜单\程序\系统管理工具Const CSIDL_ALTSTARTUP As Long = &H1D '未本地化的启动Const CSIDL_APPDATA As Long...
2019-10-24 01:01:45 1495
原创 将实体添加至数据库
函数位置CadUtil.dllCadUtil::DbUtil::AppendDb1.将实体添加至块表记录Acad::ErrorStatus AppendDb(AcDbEntity* pEntity, const AcDbObjectId& idBlkRec){ Acad::ErrorStatus es = eNotImplementedYet; AcD...
2019-09-21 13:08:24 565
转载 Create multi sheet PDF from ARX using DSD
We already have ablog poston doing this from.NET, but it could take a bit of time to convert the code toARX, so here it is.It's not doing exactly the same but close enough :)You'll have to incl...
2019-06-13 08:54:34 416
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人