求从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以获取其位置呢?
新手上路,还望指点
页:
[1]