It is inside a loop, where each element is being check, in this case, if it is wall or column. Then, will try to get the quantities of building material and/or surface of the element (depends on the input of the user).
There are no error (err = NoError) but the cqCnt is always zero on any model structure type (basic, composite, or profile)
EDIT: Also for AC21. AC20 is okay.
~ReignBough~ ARCHICAD 26 INT (from AC18) Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS