Trailer1
(Trailer)
1
Hello to all,
I would like to annotate some text based on the time of my simulation.
If my time is less or equal to 1 annotate: “one”
if my time is more than 1 annotate: “two”
How can I achieve this? Would it be possible with python annotation?
Best Regards
cory.quammen
(Cory Quammen (Kitware))
2
Python Annotation with the Expression set to "one" if time_value <= 1 else "two"
will do the trick.
Trailer1
(Trailer)
3
hi,
Thanks for the reply!!
Would it be possible to allocate colors to it? “one” green, “two” red?
cory.quammen
(Cory Quammen (Kitware))
4
Not through an expression, I’m afraid.