日常更新

This commit is contained in:
ShrlAlgo
2026-01-16 17:07:43 +08:00
parent b611efeed9
commit 3650f8550e
74 changed files with 2040 additions and 2151 deletions

View File

@@ -10,7 +10,7 @@ using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.Runtime;
using Newtonsoft.Json;
//using Newtonsoft.Json;
namespace BoreholeTool
{
@@ -146,10 +146,12 @@ namespace BoreholeTool
}
// 输出
string json = JsonConvert.SerializeObject(finalLogs, Formatting.Indented);
string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "BoreholeHybrid.json");
File.WriteAllText(path, json);
ed.WriteMessage($"\n处理完成共 {finalLogs.Count} 个钻孔。文件: {path}");
#region Json
//string json = JsonConvert.SerializeObject(finalLogs, Formatting.Indented);
//string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "BoreholeHybrid.json");
//File.WriteAllText(path, json);
//ed.WriteMessage($"\n处理完成共 {finalLogs.Count} 个钻孔。文件: {path}");
#endregion
}
// ----------------------------------------------------------------