Tekla Structures
Tekla Structure Issue: customize template
Hello everyone,
I wrote formula in report template for total length of all rebars which have the same grade and size, like this:
if (GetFieldFormula("GRADE") == "S220" && GetFieldFormula("SIZE") == 6) then
(GetFieldFormula("NUMBER")*GetFieldFormula("LENGTH"))
else
("-")
endif
Everything is fine, but if the condition is false program shows 0 as a result, and I would like to show "-" sign. Anyone knows how to figure it out? It would be even better if formula hide 0 value when is false and leave it blank.
regards
nightbird
Enter the forum for further discussion about this issue.
Tekla Structure Issue: customize template
Hello everyone,
I wrote formula in report template for total length of all rebars which have the same grade and size, like this:
if (GetFieldFormula("GRADE") == "S220" && GetFieldFormula("SIZE") == 6) then
(GetFieldFormula("NUMBER")*GetFieldFormula("LENGTH"))
else
("-")
endif
Everything is fine, but if the condition is false program shows 0 as a result, and I would like to show "-" sign. Anyone knows how to figure it out? It would be even better if formula hide 0 value when is false and leave it blank.
regards
nightbird
Enter the forum for further discussion about this issue.