Autocad中的RXClass和Type的区别 有什么含义?

 

先打印一段程序测试下结果:

RXClass x = RXObject.GetClass(typeof(BlockReference));
Editor ed = Application.DocumentManager.MdiActiveDocument.Editor;
Type y = typeof(BlockReference);
ed.WriteMessage($"{x.Name}___{x.DxfName}___{x.AppName}___{x.MyParent.Name}___{x.ClassVersion}__{x.GetType()}\n");
ed.WriteMessage($"{y}___{y.AssemblyQualifiedName}___{y.Name}___{y.FullName}__{y.BaseType}");

 

打印结果如下:

AcDbBlockReference___INSERT___ObjectDBX Classes___AcDbEntity___19.0.0.0__Autodesk.AutoCAD.Runtime.RXClass


Autodesk.AutoCAD.DatabaseServices.BlockReference___Autodesk.AutoCAD.DatabaseServices.BlockReference, Acdbmgd, Version=24.1.0.0, Culture=neutral, PublicKeyToken=null___BlockReference___Autodesk.AutoCAD.DatabaseServices.BlockReference__Autodesk.AutoCAD.DatabaseServices.Entity

 

打印结果里有我们关心的吗

上一篇:计算机考研408每日一题 day163


下一篇:安全漏洞之grafana-cve_2021_43798