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 24 INT 4018 FULL (from AC18) Windows 10 Pro, Intel Core i7-4790 CPU @ 3.60GHz, 32.0GB RAM, 64-bit OS