2025-11-28 06:58 PM
Hello, I'm having a problem with expressions that I haven't encountered before, and I hope you can clarify my doubt.
I've been doing some translations using the "SUBSTITUTE" expression, based on a previous expression that takes as values some acronyms from the name of the Composite or Complex Profile, also modeled with walls. The issue is that if I call another "SUBSTITUTE" expression, I get an "Unknown Error" which limits my ability to create a translation database for these acronyms, but I can't find a way to overcome that limit. See images below:
No errors
"Unknown Error"
I look forward to your comments. Regards
Operating system used: Windows 11
a month ago
I wonder if it is the sheer number of nested functions in the Expression that is causing the error.
You could try reducing the number of SUBSTITUTE functions in the Expression and see if it works.
Or, you could start from the other direction: start with only 5-10 SUBSTITUTE functions and increase them gradually, see if you hit some limit where the error message starts occurring.
So, basically, you should start debugging the Expression.
3 weeks ago - last edited 3 weeks ago
Hi Lazlo, thanks for your reply.
I ran some tests and found that the limit is 59 "SUBSTITUTE" functions, because if I reach 60 functions, I get an unknown error. I'm sharing screenshots below.
59 "SUBSTITUTE"
60 "SUBSTITUTE"
Is there any way to increase the limit to at least 100 functions?
I did the same test calling this property with 59 "SUBSTITUTE" functions, and I can add another 59 functions. I did it three times, and it keeps calling without any problem.
Could this be a limitation of the expression window?
Is there any way to increase the number of functions allowed in the expression window?
I look forward to your response.
3 weeks ago - last edited 3 weeks ago
If creating three expressions is a viable route for you, I would recommend that for now. If this is indeed a limitation in Archicad, we will not be able to circumvent it or modify it; only the developers can do that.
I would also recommend that you report this to your local reseller, so they can investigate and confirm if this is a bug or a limitation.