添加项目文件。

This commit is contained in:
GG Z
2026-02-23 14:58:05 +08:00
parent ce96926220
commit 771d780d6c
342 changed files with 33470 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using Autodesk.Revit.DB;
using Autodesk.Revit.UI.Selection;
using System;
namespace HYDragCurveJig
{
public class CurveFilter : ISelectionFilter
{
public bool AllowElement(Element elem)
{
return elem.GetType() == typeof(ModelLine) || elem.GetType() == typeof(ModelArc) || elem.GetType() == typeof(DetailLine) || elem.GetType() == typeof(DetailArc);
}
public bool AllowReference(Reference reference, XYZ pos)
{
return false;
}
}
}