Project data & BIM
About BIM-based management of attributes, schedules, templates, favorites, hotlinks, projects in general, quality assurance, etc.
SOLVED!

Syntactical error in the expression

Attila
Booster

Hi everyone,

 

I recently started trying to write functions in Archicad.
Can you help me where is the error in the following function?

 

Attila_0-1733909126746.png

Thanks in advance for your help.

 

Operating system used: Windows

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Laszlo Nagy
Community Admin
Community Admin

Try a ; (semicolon) character after "Megnevezés" instead of a , (comma) character. You always have to use the same character everywhere in expressions, depending on your operating system settings.

In English language operating systems, . (dot) is used as a decimal point character, so in the Expression editor you can use the , (comma) character. 

However, in some other language operating systems (like Hungarian), the , (comma) is used as a decimal point character, so in the Expression editor you have to use the ; (semicolon) character. 

 

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

View solution in original post

1 REPLY 1
Solution
Laszlo Nagy
Community Admin
Community Admin

Try a ; (semicolon) character after "Megnevezés" instead of a , (comma) character. You always have to use the same character everywhere in expressions, depending on your operating system settings.

In English language operating systems, . (dot) is used as a decimal point character, so in the Expression editor you can use the , (comma) character. 

However, in some other language operating systems (like Hungarian), the , (comma) is used as a decimal point character, so in the Expression editor you have to use the ; (semicolon) character. 

 

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

Setup info provided by author