diff --git a/src/Core/PathDataManager.cs b/src/Core/PathDataManager.cs index c78ae3f..e509919 100644 --- a/src/Core/PathDataManager.cs +++ b/src/Core/PathDataManager.cs @@ -1594,10 +1594,12 @@ namespace NavisworksTransport var point = ParsePointElement(pointNode); if (point != null) { - route.AddPoint(point); + route.Points.Add(point); } } } + // 仅在内存中重建几何/索引,不触发数据库保存 + route.RecalculateRoute("XML导入"); } return route;