Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
I don't the reason of the expression error.
liming
The process XML "test5.xml" is below. The corresponding picture are as following,
When I run the process, I encounter an error as following,
How to fix the error
Find more posts tagged with
AI Studio
Errors
Accepted answers
liming
Choose "Insert and evaluate" in "Insert macro". The corresponding is as following,
All comments
liming
Choose "Insert and evaluate" in "Insert macro". The corresponding is as following,
MartinLiebig
@liming
,
to quickly explain it: Macros are by default Strings. This means:
id < %{outlier}
is a comparison between a string and an integer, which does not work.
Evaluate allows you to interpret the string. In your case, it gets parsed and thus works. Interestingly you can also do things like
id < eval("sqrt("+%{outlier}+")")
which makes eval super strong.
Best,
Martin
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups