After you converted it, you should inquire the length of the string (which will be 1, 2, or 3), and depending on that value, fill the beginning of the string with leading "0" characters.
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
If the format string for the STR function was like normal programming languages, this would be easy, but alas it is 'unique' and seems to have no way of producing leading zeros.
One of the forum moderators AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
After you converted it, you should inquire the length of the string (which will be 1, 2, or 3), and depending on that value, fill the beginning of the string with leading "0" characters.
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