Hello friend, as you can see on the pic I want to replace highlight wall (that is a curtain wall) with a generic wall and create new list of that walls, is it possible? If yes How?, tnx.
Your last node has exactly this… are you trying to change instances in the model?
1 Like
yes but I want Replace first list that is contain wall ! exactly I want to replace curtain wall, it must Replace in the revit model?
Hi @f.saeedian i would try spring is it curtain wall node, and filter by bool mask
Ok, so your process seems a bit off what I would expect. If you want to replace all curtain walls with a generic wall, the process I would use is something like this:
- All elements of class wall to get all wall types.
- Filter the wall types by the parent family (curtain walls have a different parent if memory serves - if not check if it has a vertical grid parameter).
- Get all instances of the remaining types.
- Change the family type for all of the selected instances (Element.SetParameterValueByName) to your desired wall type.