|
XYZ p0 = line.GetEndPoint(0);
XYZ p1 = line.GetEndPoint(1);
Outline outline = new Outline(p0, p1);
IList<Element> lstElements = new FilteredElementCollector(doc).WherePasses(new BoundingBoxIntersectsFilter(outline)).ToElements();
代码是这样,有些可以有些不可以,OutLine 有说明规定吗?
|
|