修复bug和新增部分功能

This commit is contained in:
GG Z
2024-10-08 16:21:39 +08:00
parent 082b781808
commit b6647218be
44 changed files with 1709 additions and 1390 deletions

View File

@@ -203,7 +203,7 @@ namespace Sai.RvKits.RvCivil
catch (Autodesk.Revit.Exceptions.OperationCanceledException) { }
catch (Exception e)
{
LogHelper.ToLog(e.Message, Variables.LogFolder);
e.Message.ToLog();
throw;
}
}
@@ -243,7 +243,12 @@ namespace Sai.RvKits.RvCivil
return normalFace;
}
/// <summary>
/// 查找所有管线定位线与元素面的碰撞点
/// </summary>
/// <param name="elementToOpen"></param>
/// <param name="curve"></param>
/// <returns></returns>
private static List<XYZ> FindIntersects(Element elementToOpen, Curve curve)
{
var faces = elementToOpen.GetAllGeometryObjects<Face>();