Wall "Function" Layer References

Wall "Function" Layer References

bayo567BN
Explorer Explorer
1,199 Views
2 Replies
Message 1 of 3

Wall "Function" Layer References

bayo567BN
Explorer
Explorer

Hi All

 

Is it possible to get the references for just the "structure" layers of a wall to only dimension the structure?
One way would be to move the structural elements into the wall's core boundary. However, the way walls are built here in SA requires the brick (structure layer) outside the core, so it wraps around the cavity.

The image below shows the wall buildup as it is currently set up. The core is indicated in red.

 

bayo567BN_0-1664227802795.png

In the image below, I have moved the structural elements into the core, allowing the structural faces to be dimensioned, but this set-up will result in incorrect wall end conditions.

bayo567BN_1-1664227836135.png

 

0 Likes
1,200 Views
2 Replies
Replies (2)
Message 2 of 3

longt61
Advocate
Advocate

What you want to do can be achieved by getting the "CompoundStructure" and "CompoundStructureLayer" from Walltype.

The "CompoundStructure" class contains all information about wall layers such as: layer index, layer structural function, material, width, etc... You can add, remove, modify layers of a wall type with this class. Just keep in mind 2 things 

1. The Exterior, Core and Interior layers are arranged in a similar order as you can see from Revit UI. They are marked by layer index, so in order to determine a layer is either Exterior, Core or Interior, you have to check the layer index yourself. The 2 methods to get the first and last index of core layer are very helpful.

2. If you want to modify the layer, setting them back can be a little tricky with all the setter methods. In some cases, all layers will be added to Core layers and most of their information is reset to default. Make sure to read the doc carefully to know when it will happen.

Hope this helps.

0 Likes
Message 3 of 3

bayo567BN
Explorer
Explorer

Thanks for the response. I will give it a go. 

Much appreciated. 

0 Likes