1.AcdbEntGet用于获取实体的组码. 示例: ' 定义保存实体名称的变量 Dim ent() As Integer = New Integer() {} ' 获取最后一个实体 mcnetarx.GlobalFunctions.AcdbEntLast(ent) ' 获取实体的DXF组码 Dim rb As ResultBuffer = mcnetarx.GlobalFunctions.AcdbEntGet(ent) 下载地址:http://bbs.mjtd.com/thread-10909
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
using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.EditorInput; using Autodesk.AutoCAD.Runtime; namespace BlockImport { public class BlockImportClass { [CommandMethod("tt")] public void Im