I have tried to create an expression label to reverse the numbers on a sample line group. It is for a floodline drawing where the first sample line number has to be on the upstream side of the alignment.
I have tried it with MAX, but MAX only look at the maximum value for the current sample line and not all the sample line numbers in the group.
The other option is to have the number of sample lines in the expression, but that is not really an option.
abs({Sample Line Number}-23)
Can someone please put me in the right direction and help me with the expression?
I'd create an expression called maxSectionNumber or something similar, then I'd use that value in the other expression. This way I can set it manually in one place and not have to worry about trying to get a property that probably isn't possible to get.
@Anonymous wrote:
I have tried to create an expression label to reverse the numbers on a sample line group. It is for a floodline drawing where the first sample line number has to be on the upstream side of the alignment.
I have tried it with MAX, but MAX only look at the maximum value for the current sample line and not all the sample line numbers in the group.
The other option is to have the number of sample lines in the expression, but that is not really an option.
abs({Sample Line Number}-23)
Can someone please put me in the right direction and help me with the expression?
By "Sample Lines", I'm assuming you're talking about the sample lines you use to get ready for cross sections. And by extension, I'm assuming you're wanting to make it so that the LAST sample line shows as the beginning. And the FIRST one shows as the end. Correct so far?
Why not reverse the alignment direction so the alignment goes in the right direction?
Don Ireland
Engineering Design Technician