your OUT should be in capital letters. Secondly if your wall has multiple core layers try this:
#The inputs to this node will be stored as a list in the IN variables.
walls = UnwrapElement(IN)
for w in walls:
cs = w.WallType.GetCompoundStructure()
i0 = cs.GetFirstCoreLayerIndex()
i1 = cs.GetLastCoreLayerIndex()
d = 0
for idx in range(i0,i1+1):
OUT = output
Hello @ericabbott ,
sorry that after such a long time, I open the topic again. But I need help with exactly that.
I tried to output the wall thicknesses with the help of your code, but I also get null, although I wrote OUT in capital letters.
can someone help me edit the code so it displays the unit in millimeter?
I know i can use the Convert Between Units node but it will be better if its already included in the script so I don’t need to use additional node.