# Wall opining by point width height doesn't work

**URL:** <https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333>\
**Category:** Uncategorized\
**Created:** [June 30, 2024, 2:13pm UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333 "2024-06-30T14:13:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![osjohna](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@osjohna](https://forum.dynamobim.com/u/osjohna)\
**Post date:** [June 30, 2024, 2:13pm UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333/1 "2024-06-30T14:13:02Z")

</div>

Hi  
when i create script and i need to make opening in wall i make all script correct without showing any warning except when i need to make the opening it show this warning and doesn’t make the opening  
so any solution for this problem

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/7/d76583422239fa3db3cb5adf14c0d34b635a8e2c.png)

---

<div class="post-metadata">

**Author:** ![osjohna](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@osjohna](https://forum.dynamobim.com/u/osjohna)\
**Post date:** [June 30, 2024, 2:14pm UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333/2 "2024-06-30T14:14:20Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/e/ee0e41f91f3f571f838f23d8c07ed6e2438c3f2a.png)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [June 30, 2024, 2:23pm UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333/3 "2024-06-30T14:23:09Z")

</div>

It sure which package that is from, but it appears to be in conflict with your Revit version as it is pulling the old API. Make sure you’re on the right version for your Revit release.

---

<div class="post-metadata">

**Author:** ![osjohna](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@osjohna](https://forum.dynamobim.com/u/osjohna)\
**Post date:** [June 30, 2024, 2:35pm UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333/4 "2024-06-30T14:35:29Z")

</div>

i used Univeso\_BIM package for Revit 2024 and i think maybe not supported.  
is there any another package that have this node and supported in Revit 2024?

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [June 30, 2024, 4:06pm UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333/5 "2024-06-30T16:06:55Z")

</div>

hi, here is a clue

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/2/9272e0f319d5e53d665e6b3b9fc3c74f604194c7.png)

> **[NewOpening Method (Wall, XYZ, XYZ)](https://www.revitapidocs.com/2024/06a216d4-2cf6-ec8f-df5b-10f007b70531.htm)**
>
> Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018

to dig

```auto
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
clr.AddReference("RevitNodes")
import Revit
clr.ImportExtensions(Revit.Elements)
clr.ImportExtensions(Revit.GeometryConversion)
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager 
from RevitServices.Transactions import TransactionManager 
clr.AddReference("RevitAPI")
import Autodesk 
from Autodesk.Revit.DB import *

doc = DocumentManager.Instance.CurrentDBDocument

#######OK NOW YOU CAN CODE########
elt=UnwrapElement(IN[0])
lst=IN[1]
TransactionManager.Instance.EnsureInTransaction(doc)
a=doc.Create.NewOpening(elt,lst[0].ToRevitType(),lst[1].ToRevitType())
TransactionManager.Instance.TransactionTaskDone()
OUT = a

```

cordially  
christian.stan

---

<div class="post-metadata">

**Author:** ![osjohna](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@osjohna](https://forum.dynamobim.com/u/osjohna)\
**Post date:** [July 1, 2024, 10:50am UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333/6 "2024-07-01T10:50:46Z")

</div>

Thank you for help , it is a great clue  
but i need to create the opening without select face node.  
In brief , i want to create opening around the MEP ducts by values i put it as i shown before.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [July 1, 2024, 11:01am UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333/7 "2024-07-01T11:01:00Z")

</div>

Hi @osjohna You could use voids as well…I like to do it that way instead as its faster and more flexible…just my opinion 😉 😉

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [July 3, 2024, 9:52am UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333/8 "2024-07-03T09:52:59Z")

</div>

hi, focus on the final aspect, the front part is to generate points (which you already have)  
as in the previous example

the direction of the wall is important to create a coordinate system in the plane of the wall to be able to generate the points distant from your opening

 ![Exemple 3juillet 2024](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/d/bdb84837699c2d32e985f59276b0e792fb70083b.png)

```auto
elt=UnwrapElement(IN[0])
lst1=IN[1]
lst2=IN[2]
TransactionManager.Instance.EnsureInTransaction(doc)
a=[doc.Create.NewOpening(elt,i.ToRevitType(),j.ToRevitType()) for i,j in zip(lst1,lst2)]
TransactionManager.Instance.TransactionTaskDone()
OUT = a

```

Sincerely  
christian.stan

---

<div class="post-metadata">

**Author:** ![osjohna](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@osjohna](https://forum.dynamobim.com/u/osjohna)\
**Post date:** [July 3, 2024, 10:46am UTC](https://forum.dynamobim.com/t/wall-opining-by-point-width-height-doesnt-work/102333/9 "2024-07-03T10:46:22Z")

</div>

Thank you all for your help
