chasm9a252523
2012-07-12, 12:04 PM
I am new to Autocad Civil 3d and i am using autocad civil 3d 2012.
I am trying to label my sections through SEGMENT LABELS.
My output will involve both percent grades and slopes but i am getting result shown below
86275
However i want result in this style.
86276
I have came up with a solution and it seems to be working except one part.
I have declared an expression like this one.
IF({Section Segment Cross Slope}<-0.05|{Section Segment Cross Slope}>0.05, 1: {Section Segment Elevation Change}/{Section Segment Slope Length},{Section Segment Cross Slope})
In this expression, i cannot represent "1:" in the label style. This must be only text. If i write it as "1:" then it gives me an error.
or alternately
IF({Section Segment Cross Slope}<-0.05|{Section Segment Cross Slope}>0.05, "< I want this space to be blank, that is not represented by anything >",{Section Segment Cross Slope})
My main point is that i want to involve some text in my expressions and i dont know how to do it. CAN IT BE DONE?
Thanks in advance.
I am trying to label my sections through SEGMENT LABELS.
My output will involve both percent grades and slopes but i am getting result shown below
86275
However i want result in this style.
86276
I have came up with a solution and it seems to be working except one part.
I have declared an expression like this one.
IF({Section Segment Cross Slope}<-0.05|{Section Segment Cross Slope}>0.05, 1: {Section Segment Elevation Change}/{Section Segment Slope Length},{Section Segment Cross Slope})
In this expression, i cannot represent "1:" in the label style. This must be only text. If i write it as "1:" then it gives me an error.
or alternately
IF({Section Segment Cross Slope}<-0.05|{Section Segment Cross Slope}>0.05, "< I want this space to be blank, that is not represented by anything >",{Section Segment Cross Slope})
My main point is that i want to involve some text in my expressions and i dont know how to do it. CAN IT BE DONE?
Thanks in advance.