Hi,
I have problem with writting a correct syntax to STR function. I would like to get rounded value (with one decimal characters) of float and if its ends on some_value.0 to just skip this ".0" to get only some_value
My current syntax is:
TEXT2 0,0, STR (%[0][10][1]m ,anchor_b)
anchor_b is a lenght type parameter
After checking a syntax I get information:
2D-Script:
---Error line 553.19: syntax error, unexpected tMOD
If you are able to solve my problem I can't wait a solution ;)
This is a part of on my own dimensions function to skip doing it after make a smart part. I'd like to safe ma time to clicking the ref points after creating a smart part. If you know a function in smart part with is related with dimension line in Allplan (instead of drawing line and putting a text in Smart Part) let me know. Ofcourse if you want ;)
I've attached a Print screen with my dim line to ilustrate my problem.