📅  最后修改于: 2022-03-11 14:55:23.835000             🧑  作者: Mango
var view3d = RUtils.Get3dView(doc);
ReferenceIntersector refIntersector = new ReferenceIntersector(
new ElementCategoryFilter(BuiltInCategory.OST_Walls),
FindReferenceTarget.Element,
view3d
);
var x = refIntersector.FindNearest(stairBase, baseDirection);