Cad c#二次开发 常见错误

常见的错误有:

case Acad::eOk:lstrcpy(Glb_AcadErrorInfo,_T("正确"));break;

case Acad::eNotImplementedYet:lstrcpy(Glb_AcadErrorInfo,_T("尚未实现"));break;

case Acad::eNotApplicable:lstrcpy(Glb_AcadErrorInfo,_T("不合适的"));break;

case Acad::eInvalidInput:lstrcpy(Glb_AcadErrorInfo,_T("无效的输入"));break;

case Acad::eAmbiguousInput:lstrcpy(Glb_AcadErrorInfo,_T("模糊不清的输入"));break;

case Acad::eAmbiguousOutput:lstrcpy(Glb_AcadErrorInfo,_T("模糊不清的输出"));break;

case Acad::eOutOfMemory:lstrcpy(Glb_AcadErrorInfo,_T("内存不足"));break;

case Acad::eBufferTooSmall:lstrcpy(Glb_AcadErrorInfo,_T("缓冲区太小"));break;

case Acad::eInvalidOpenState:lstrcpy(Glb_AcadErrorInfo,_T("无效的打开状态"));break;

case Acad::eEntityInInactiveLayout:lstrcpy(Glb_AcadErrorInfo,_T("实体不在活动布局上"));break;

case Acad::eHandleExists:lstrcpy(Glb_AcadErrorInfo,_T("句柄已存在"));break;

case Acad::eNullHandle:lstrcpy(Glb_AcadErrorInfo,_T("空句柄"));break;

case Acad::eBrokenHandle:lstrcpy(Glb_AcadErrorInfo,_T("损坏的句柄"));break;

case Acad::eUnknownHandle:lstrcpy(Glb_AcadErrorInfo,_T("未知句柄"));break;

case Acad::eHandleInUse:lstrcpy(Glb_AcadErrorInfo,_T("句柄被占用"));break;

case Acad::eNullObjectPointer:lstrcpy(Glb_AcadErrorInfo,_T("对象指针为空"));break;

case Acad::eNullObjectId:lstrcpy(Glb_AcadErrorInfo,_T("对象ID为空"));break;

case Acad::eNullBlockName:lstrcpy(Glb_AcadErrorInfo,_T("块名称为空"));break;

case Acad::eContainerNotEmpty:lstrcpy(Glb_AcadErrorInfo,_T("容器不为空"));break;

case Acad::eNullEntityPointer:lstrcpy(Glb_AcadErrorInfo,_T("实体指针为空"));break;

case Acad::eIllegalEntityType:lstrcpy(Glb_AcadErrorInfo,_T("非法的实体类型"));break;

case Acad::eKeyNotFound:lstrcpy(Glb_AcadErrorInfo,_T("关键字未找到"));break;

case Acad::eDuplicateKey:lstrcpy(Glb_AcadErrorInfo,_T("重复的关键字"));break;

case Acad::eInvalidIndex:lstrcpy(Glb_AcadErrorInfo,_T("无效的索引"));break;

case Acad::eDuplicateIndex:lstrcpy(Glb_AcadErrorInfo,_T("重复的索引"));break;

case Acad::eAlreadyInDb:lstrcpy(Glb_AcadErrorInfo,_T("已经在数据库中了"));break;

case Acad::eOutOfDisk:lstrcpy(Glb_AcadErrorInfo,_T("硬盘容量不足"));break;

case Acad::eDeletedEntry:lstrcpy(Glb_AcadErrorInfo,_T("已经删除的函数入口"));break;

case Acad::eNegativeValueNotAllowed:lstrcpy(Glb_AcadErrorInfo,_T("不允许输入负数"));break;

case Acad::eInvalidExtents:lstrcpy(Glb_AcadErrorInfo,_T("无效的空间范围"));break;

case Acad::eInvalidAdsName:lstrcpy(Glb_AcadErrorInfo,_T("无效的ADS名称"));break;

case Acad::eInvalidSymbolTableName:lstrcpy(Glb_AcadErrorInfo,_T("无效的符号名称"));break;

case Acad::eInvalidKey:lstrcpy(Glb_AcadErrorInfo,_T("无效的关键字"));break;

case Acad::eWrongObjectType:lstrcpy(Glb_AcadErrorInfo,_T("错误的类型"));break;

case Acad::eWrongDatabase:lstrcpy(Glb_AcadErrorInfo,_T("错误的数据库"));break;

case Acad::eObjectToBeDeleted:lstrcpy(Glb_AcadErrorInfo,_T("对象即将被删除"));break;

case Acad::eInvalidDwgVersion:lstrcpy(Glb_AcadErrorInfo,_T("不合理的DWG版本"));break;

case Acad::eAnonymousEntry:lstrcpy(Glb_AcadErrorInfo,_T("多重入口"));break;

case Acad::eIllegalReplacement:lstrcpy(Glb_AcadErrorInfo,_T("非法的替代者"));break;

case Acad::eEndOfObject:lstrcpy(Glb_AcadErrorInfo,_T("对象结束"));break;

case Acad::eEndOfFile:lstrcpy(Glb_AcadErrorInfo,_T("文件结束"));break;

case Acad::eIsReading:lstrcpy(Glb_AcadErrorInfo,_T("正在读取"));break;

case Acad::eIsWriting:lstrcpy(Glb_AcadErrorInfo,_T("正在写入"));break;

case Acad::eNotOpenForRead:lstrcpy(Glb_AcadErrorInfo,_T("不是只读打开"));break;

case Acad::eNotOpenForWrite:lstrcpy(Glb_AcadErrorInfo,_T("不是可写打开"));break;

case Acad::eNotThatKindOfClass:lstrcpy(Glb_AcadErrorInfo,_T("类型不匹配"));break;

case Acad::eInvalidBlockName:lstrcpy(Glb_AcadErrorInfo,_T("不合理的块名称"));break;

case Acad::eMissingDxfField:lstrcpy(Glb_AcadErrorInfo,_T("DXF字段缺失"));break;

case Acad::eDuplicateDxfField:lstrcpy(Glb_AcadErrorInfo,_T("DXF字段重复"));break;

case Acad::eInvalidDxfCode:lstrcpy(Glb_AcadErrorInfo,_T("不合理的DXF编码"));break;

case Acad::eInvalidResBuf:lstrcpy(Glb_AcadErrorInfo,_T("不合理的ResBuf"));break;

case Acad::eBadDxfSequence:lstrcpy(Glb_AcadErrorInfo,_T("不正确的DXF顺序"));break;

case Acad::eFilerError:lstrcpy(Glb_AcadErrorInfo,_T("文件错误"));break;

case Acad::eVertexAfterFace:lstrcpy(Glb_AcadErrorInfo,_T("顶点在面后面"));break;

case Acad::eInvalidFaceVertexIndex:lstrcpy(Glb_AcadErrorInfo,_T("不合理的面顶点顺序"));break;

case Acad::eInvalidMeshVertexIndex:lstrcpy(Glb_AcadErrorInfo,_T("不合理的mesh顺序"));break;

case Acad::eOtherObjectsBusy:lstrcpy(Glb_AcadErrorInfo,_T("其它对象忙"));break;

case Acad::eMustFirstAddBlockToDb:lstrcpy(Glb_AcadErrorInfo,_T("必须先把块加入到数据库"));break;

case Acad::eCannotNestBlockDefs:lstrcpy(Glb_AcadErrorInfo,_T("不可以嵌套块定义"));break;

case Acad::eDwgRecoveredOK:lstrcpy(Glb_AcadErrorInfo,_T("修复DWG完成"));break;

case Acad::eDwgNotRecoverable:lstrcpy(Glb_AcadErrorInfo,_T("无法修复DWG"));break;

case Acad::eDxfPartiallyRead:lstrcpy(Glb_AcadErrorInfo,_T("DXF部分读取"));break;

case Acad::eDxfReadAborted:lstrcpy(Glb_AcadErrorInfo,_T("读取DXF终止"));break;

case Acad::eDxbPartiallyRead:lstrcpy(Glb_AcadErrorInfo,_T("DXB部分读取"));break;

case Acad::eDwgCRCDoesNotMatch:lstrcpy(Glb_AcadErrorInfo,_T("DWG文件的CRC不匹配"));break;

case Acad::eDwgSentinelDoesNotMatch:lstrcpy(Glb_AcadErrorInfo,_T("DWG文件的校验不匹配"));break;

case Acad::eDwgObjectImproperlyRead:lstrcpy(Glb_AcadErrorInfo,_T("DWG文件错误读取"));break;

case Acad::eNoInputFiler:lstrcpy(Glb_AcadErrorInfo,_T("没有找到输入过滤"));break;

case Acad::eDwgNeedsAFullSave:lstrcpy(Glb_AcadErrorInfo,_T("DWG需要完全保存"));break;

case Acad::eDxbReadAborted:lstrcpy(Glb_AcadErrorInfo,_T("DXB读取终止"));break;

case Acad::eFileLockedByACAD:lstrcpy(Glb_AcadErrorInfo,_T("文件被ACAD锁定"));break;

case Acad::eFileAccessErr:lstrcpy(Glb_AcadErrorInfo,_T("无法读取文件"));break;

case Acad::eFileSystemErr:lstrcpy(Glb_AcadErrorInfo,_T("文件系统错误"));break;

case Acad::eFileInternalErr:lstrcpy(Glb_AcadErrorInfo,_T("文件内部错误"));break;

case Acad::eFileTooManyOpen:lstrcpy(Glb_AcadErrorInfo,_T("文件被打开太多次"));break;

case Acad::eFileNotFound:lstrcpy(Glb_AcadErrorInfo,_T("未找到文件"));break;

case Acad::eDwkLockFileFound:lstrcpy(Glb_AcadErrorInfo,_T("找到DWG锁定文件"));break;

case Acad::eWasErased:lstrcpy(Glb_AcadErrorInfo,_T("对象被删除"));break;

case Acad::ePermanentlyErased:lstrcpy(Glb_AcadErrorInfo,_T("对象被永久删除"));break;

case Acad::eWasOpenForRead:lstrcpy(Glb_AcadErrorInfo,_T("对象只读打开"));break;

case Acad::eWasOpenForWrite:lstrcpy(Glb_AcadErrorInfo,_T("对象可写打开"));break;

相关推荐
du fei20 分钟前
C# 与 相机连接
开发语言·数码相机·c#
古力德1 小时前
Unity中造轮子:定时器
c#·unity3d
小码编匠2 小时前
C# 实现西门子S7系列 PLC 数据管理工具
后端·c#·.net
“抚琴”的人1 天前
【机械视觉】C#+VisionPro联合编程———【六、visionPro连接工业相机设备】
c#·工业相机·visionpro·机械视觉
FAREWELL000751 天前
C#核心学习(七)面向对象--封装(6)C#中的拓展方法与运算符重载: 让代码更“聪明”的魔法
学习·c#·面向对象·运算符重载·oop·拓展方法
CodeCraft Studio1 天前
Excel处理控件Spire.XLS系列教程:C# 合并、或取消合并 Excel 单元格
前端·c#·excel
勘察加熊人1 天前
forms实现连连看
c#
hvinsion1 天前
PPT助手:一款集计时、远程控制与多屏切换于一身的PPT辅助工具
c#·powerpoint·ppt·ppt助手·ppt翻页
weixin_307779131 天前
使用C#实现从Hive的CREATE TABLE语句中提取分区字段名和数据类型
开发语言·数据仓库·hive·c#
时光追逐者1 天前
在 Blazor 中使用 Chart.js 快速创建数据可视化图表
开发语言·javascript·信息可视化·c#·.net·blazor