# Stacked Wall's Sub-Wall being changed on instance basis instead of type

**URL:** <https://forum.dynamobim.com/t/stacked-walls-sub-wall-being-changed-on-instance-basis-instead-of-type/76616>\
**Category:** Packages\
**Tags:** dynamo\
**Created:** [May 17, 2022, 2:15am UTC](https://forum.dynamobim.com/t/stacked-walls-sub-wall-being-changed-on-instance-basis-instead-of-type/76616 "2022-05-17T02:15:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rookio](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Rookio](https://forum.dynamobim.com/u/Rookio)\
**Post date:** [May 17, 2022, 2:15am UTC](https://forum.dynamobim.com/t/stacked-walls-sub-wall-being-changed-on-instance-basis-instead-of-type/76616/1 "2022-05-17T02:15:57Z")

</div>

Hi, I’m trying to figure out how to modify a stacked wall type’s sub wall. That is, i want to be able to modify the basic walls used in a specific Stacked wall type.

Using GeniusLoci Get Wall Member node (as referenced in below topic) I’ve been able to find and change the ‘instance’ of a stacked wall’s sub wall. Problem is that only that instance shows the new subwall type. When I look at the wall Type properties it’s still showing the original subwall type.

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

I’m trying to find how to change the subwall for the entire stacked wall type.  
It seems quite strange to me that I can have an instance of placed stacked wall type “553-FCSheet” but the subwalls don’t match their stacked wall type settings.  
e.g. If I place a new stacked wall 553-fc sheet it will revert to the timber subwall not the brick that I want.

I’m hesitant to use this approach as I will leave instances of stacked walls in my model that have manually changed subwalls not matching their parent stacked wall type. Seems like a recipe for disaster.

Can Dynamo create a new stacked wall or modify a stacked wall make-up?

> [@Walls from Stacked Wall](https://forum.dynamobim.com/t/walls-from-stacked-wall/42489):
>
> Hey All, This guy has the same issue as me, it didn’t get solved in the API forum… [https://forums.autodesk.com/t5/revit-api-forum/stacked-wall/td-p/8685047](https://forums.autodesk.com/t5/revit-api-forum/stacked-wall/td-p/8685047) Seemingly I need to collect the component walls from a stacked wall, so I can get their edges. Seemingly edges cannot be returned from the solid of a stacked wall. I can do this with nodes, but would welcome help with doing this in Python? I’d like the user to be able to drag a box… Seeming this approach returns results both in Dynamo & …

---

<div class="post-metadata">

**Author:** ![Rookio](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Rookio](https://forum.dynamobim.com/u/Rookio)\
**Post date:** [May 17, 2022, 2:38am UTC](https://forum.dynamobim.com/t/stacked-walls-sub-wall-being-changed-on-instance-basis-instead-of-type/76616/2 "2022-05-17T02:38:17Z")

</div>

Attached (simplified) graph showing how I’ve changed the subwall instance,

 ![Modify Stacked Wall Sub Wall_2022-05-17_12-35-10](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/6/662d78c352594cffd9e1d0acb1148752c694ebb1.png)

Would love to be able to change in the Type property instead  
[Modify Stacked Wall Sub Wall.dyn](https://forum.dynamobim.com/uploads/short-url/g1CcgMLwsFOEiR83tLekG1DVFZh.dyn) (16.0 KB)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [May 17, 2022, 10:26am UTC](https://forum.dynamobim.com/t/stacked-walls-sub-wall-being-changed-on-instance-basis-instead-of-type/76616/3 "2022-05-17T10:26:29Z")

</div>

Hi,

I don’t believe the API allows that, unfortunately… I think your solution is very neat, but as you say, it’s not an ideal workflow.

> **[Create Stacked Wall Type with API](https://forums.autodesk.com/t5/revit-api-forum/create-stacked-wall-type-with-api/td-p/7831318)**
>
> Hi   I've been looking for a way to either create a Stacked Wall type from scratch or duplicating an existing Stacked Wall and modifying the member wall type Id's that make up the stack.  I've hit a dead end.   I can access everything...

Kind regards,

Mark

---

<div class="post-metadata">

**Author:** ![Rookio](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Rookio](https://forum.dynamobim.com/u/Rookio)\
**Post date:** [May 17, 2022, 11:43pm UTC](https://forum.dynamobim.com/t/stacked-walls-sub-wall-being-changed-on-instance-basis-instead-of-type/76616/4 "2022-05-17T23:43:11Z")

</div>

Hi Mark,

Thank-you for the reply. It’s a little dissapointing to have it confirmed but I suspected that was the case, due to the lack of info on anybody doing similar workflow. I have to say I absolutely love how much info is shared/available on these forums. It’s such a huge help to newbies like me!

In your opinion do you think it could be a serious concern if I did adopt that process?  
(The graph would end up being run on thousands of House Master files, which in turn will be processed by numerous other dynamo graphs in their lifespan, and also other revit automation tools outside of dynamo that the company uses from time to time.)

My big concern is that the instance of the wall has been altered to not match it’s type properties. I still don’t understand how that loophole exists! 🧐

If the Wall needs to change later, (manually or programatically) I would hate for unsual things to start happening because of this

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [May 18, 2022, 2:47pm UTC](https://forum.dynamobim.com/t/stacked-walls-sub-wall-being-changed-on-instance-basis-instead-of-type/76616/5 "2022-05-18T14:47:27Z")

</div>

Hi,

If you’re a NOOB you’re a very talented one, I hope you stick with us 🙂

Yes, as a Project Architect, I would be very worried if instances do not match their Type…

But I am not you or your company 🙂 and perhaps in your workflow the advantages of automation is worth the risk? It is likely that there are other limitations to the API which you will have to work around.

I guess it would depend on your team structure and communication, if everyone understands how everything works, you might deem it to be manageable.

Personally, I would try and explain the situation to someone pretty senior and get them to make the decision!

Hope that helps,

Mark

---

<div class="post-metadata">

**Author:** ![Rookio](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Rookio](https://forum.dynamobim.com/u/Rookio)\
**Post date:** [May 19, 2022, 12:36am UTC](https://forum.dynamobim.com/t/stacked-walls-sub-wall-being-changed-on-instance-basis-instead-of-type/76616/6 "2022-05-19T00:36:23Z")

</div>

Hey Mark,

Kind words, I appreciate that 🙂

Also thank-you for the advice. Will see how we go eh!  
Cheers
