SQL is there in AC12 too so I think you should be able to do it with the same long command that Karl provided in that other thread.
You have to go to the Work Environment Dialog and place the SQL command onto you menus so they are visible and can be used.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28