Wall widths are not enough. Mistake with number of layers


#1

What wrong with script? i took it from ClockWork pakage (FamilyType.CompoundStructureLayers) and change some strings. But i sight that not enough widths in wall that have many layers also the densities, problem with string "38 num = compstruc.LayerCount "?

Any help will be appreciated!
Python script