当前位置: 首页 > article >正文

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;
 


http://www.kler.cn/a/421403.html

相关文章:

  • python脚本实现csv中百度经纬度转84经纬度
  • 深入探索 HarmonyOS 的 Navigation 组件:灵活的页面管理与动态导航
  • Rust循环引用与多线程并发
  • 汽车操作系统详解
  • 基于Java Springboot校园导航微信小程序
  • 【人工智能】Python与强化学习:从零实现多臂老虎机(Multi-Armed Bandit)问题
  • 小程序入门学习(四)之全局配置
  • EdDSA (Edwards-curve Digital Signature Algorithm)算法详解及python实现
  • 论文导读 I RAFT:使语言模型适应特定领域的RAG
  • C++小玩具1
  • 学习嵩山版《Java 开发手册》:编程规约 - 命名风格(P15 ~ P16)
  • Python HttpServer 的一个bug问题
  • The First项目报告:以太坊再质押赛道新星Swell Network
  • 2024年12月chrome131版本http自动跳转https解决
  • 【Unity基础】使用InputSystem实现物体跳跃
  • Zotero安装使用在线翻译Ubuntu
  • 数字运动_光影射箭(-->合作)
  • Vue前端页面内嵌套本项目iframe窗口的通信传输方式
  • 【深度学习|特征增强融合模块】MAF (Multi-scale Attention Fusion)一种多尺度的注意力融合模块
  • 原型模式的理解和实践
  • 小迪安全第四十二天笔记 简单的mysql注入 mysql的基础知识 用户管理数据库模式 mysql 写入与读取 跨库查询
  • 《从0到1常用Map集合核心摘要 + 不深不浅底层核心》
  • 网络安全内容整理二
  • Java基础面试题12:Java中的两种异常类型是什么?它们有什么区别?
  • AttributeError: ‘DataFrame‘ object has no attribute ‘append‘的参考解决方法
  • Linux67 绑定网卡【bonding和team】