# "Decompound wall layers

**URL:** <https://forum.dynamobim.com/t/decompound-wall-layers/92134>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [July 25, 2023, 1:15am UTC](https://forum.dynamobim.com/t/decompound-wall-layers/92134 "2023-07-25T01:15:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raulmtzglez](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@Raulmtzglez](https://forum.dynamobim.com/u/Raulmtzglez)\
**Post date:** [July 25, 2023, 1:15am UTC](https://forum.dynamobim.com/t/decompound-wall-layers/92134/1 "2023-07-25T01:15:01Z")

</div>

Hi guys.  
I have i question, ¿is it possible to “decompound” wall layers from the original wall?  
What im trying to do is to convert wall layers into walls from the original one, NOT to create new walls and NOt to create parts, so my doors and windows wont be deleted.  
This script creates a new walls from layers but when i delete the original wall (element) doors and windows are also deleted so this affects doors and walls quiantiiies, any ideas?

 ![Capture1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/8/f82d62283b54c118388d55aeeafd793e239632d6.png)
