From 87bed0db1354f532408d6c7cfc3476a69f1bb8ee Mon Sep 17 00:00:00 2001 From: DYH <1742647821@qq.com> Date: Tue, 2 May 2023 17:20:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B6=88=E9=99=A4=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ExtensionMethod/Entity/EntityBoundingInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CAD/IFox.CAD.Shared/ExtensionMethod/Entity/EntityBoundingInfo.cs b/src/CAD/IFox.CAD.Shared/ExtensionMethod/Entity/EntityBoundingInfo.cs index fb3d5fa..a9227a0 100644 --- a/src/CAD/IFox.CAD.Shared/ExtensionMethod/Entity/EntityBoundingInfo.cs +++ b/src/CAD/IFox.CAD.Shared/ExtensionMethod/Entity/EntityBoundingInfo.cs @@ -124,7 +124,7 @@ public static BoundingInfo GetBoundingInfo(Entity ent) { return new(ent.GeometricExtents.MinPoint, ent.GeometricExtents.MaxPoint, true); } - catch (Exception e) { } + catch { } return new(Point3d.Origin, Point3d.Origin, false); } -- Gitee From 24d2d70bec1be1ad111b6c2bcbec90265b15c3a1 Mon Sep 17 00:00:00 2001 From: DYH <1742647821@qq.com> Date: Tue, 2 May 2023 17:21:54 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B6=88=E9=99=A4=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CAD/IFox.CAD.Shared/ExtensionMethod/SymbolTableRecordEx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CAD/IFox.CAD.Shared/ExtensionMethod/SymbolTableRecordEx.cs b/src/CAD/IFox.CAD.Shared/ExtensionMethod/SymbolTableRecordEx.cs index e40a5a2..4cf0436 100644 --- a/src/CAD/IFox.CAD.Shared/ExtensionMethod/SymbolTableRecordEx.cs +++ b/src/CAD/IFox.CAD.Shared/ExtensionMethod/SymbolTableRecordEx.cs @@ -40,7 +40,7 @@ public static void DeepCloneEx(this BlockTableRecord btr, ObjectIdCollection obj // foreach (ObjectId item in blockIds) // result.Add(mapping[item].Value); } - catch (System.Exception e) + catch { } -- Gitee