From 643f7d49bf7c4a124507cd26ccbb7a53aa80c2ca Mon Sep 17 00:00:00 2001 From: chuongmep Date: Fri, 3 May 2024 13:15:53 +0700 Subject: [PATCH] Update WallOpening.cs --- OpenMEPRevit/Element/WallOpening.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenMEPRevit/Element/WallOpening.cs b/OpenMEPRevit/Element/WallOpening.cs index 47ed2b0..30eaae9 100644 --- a/OpenMEPRevit/Element/WallOpening.cs +++ b/OpenMEPRevit/Element/WallOpening.cs @@ -133,7 +133,7 @@ public static Revit.Elements.Element ByPointAndDiameter(Revit.Elements.Wall wall XYZ xyz6 = identity.OfPoint(xyz4); XYZ xyz7 = identity.OfPoint(xyz5); TransactionManager.Instance.EnsureInTransaction(doc); - Opening opening = doc.Create.NewOpening(wall2, + Opening opening = doc.Create.NewOpening(wall2, xyz6, xyz7); TransactionManager.Instance.TransactionTaskDone(); return opening.ToDSType(true); }