越少@阿笨 发表于 2011-12-13 10:57:10

求从AcadPoint到Point3d的代码

                        Autodesk.AutoCAD.Interop.Common.AcadRegion acRegion = acTrans.GetObject(acEnt.ObjectId, OpenMode.ForRead) as Autodesk.AutoCAD.Interop.Common.AcadRegion;
                        Autodesk.AutoCAD.Interop.Common.AcadPoint centroid = acRegion.Centroid as Autodesk.AutoCAD.Interop.Common.AcadPoint;
怎样令centroid变为Point3d以获取其位置呢?

越少@阿笨 发表于 2011-12-13 12:53:16

新手上路,还望指点
页: [1]
查看完整版本: 求从AcadPoint到Point3d的代码