雪山飞狐_lzh 发表于 2014-7-7 23:38
看 看ss 是否为 null
可能是我的 SelectOnLine函数有问题,但是我也看不出来哪里有问题,麻烦您给看看
- public static PromptSelectionResult SelectOnLine(this Editor ed, Lined line)
- {
- Point3d p1 = line.StartPoint;
- Point3d p2 = line.EndPoint;
- Point3d[] ps = { p1, p1, p2, p2 };
- Point3dCollection pts = new Point3dCollection(ps);
- return ed.SelectCrossingPolygon(pts);
- }
========================================== |