kayak
2012-02-09, 07:21 PM
I'm trying to set up my cross section label styles. I want to label the grade of the pavement surface and the sidewalk. What i'm getting is a grade label for all the top surface links including gutter, face of curb, and top of curb. I'm using the stock subassemblies. My code set style is set up to label the "Top" link.
1. Is there a way to label the top link for certain subassemblies (LaneSuperelevationAOR) and not for others (UrbanCurbGutterGeneral)?
I tried writing an expression:
IF((ABS({Link Length})>2),{Link Grade},No Label)
where, if the length of the link is greater than 2 feet, it labels the grade, otherwise it doesn't.
The expression works except I can't figure out how to get "No Label". That particular argument only seems to accept a numeric value (i.e. if I change the value of the argument to 5, the short links are labeled 5).
2. Does anyone know a way to get around that problem (a null value, blank label, text string with a space, etc.)?
3. Or, is there's an easier way to label grades only where I want, namely pavement surface and sidewalk?
Thank you
1. Is there a way to label the top link for certain subassemblies (LaneSuperelevationAOR) and not for others (UrbanCurbGutterGeneral)?
I tried writing an expression:
IF((ABS({Link Length})>2),{Link Grade},No Label)
where, if the length of the link is greater than 2 feet, it labels the grade, otherwise it doesn't.
The expression works except I can't figure out how to get "No Label". That particular argument only seems to accept a numeric value (i.e. if I change the value of the argument to 5, the short links are labeled 5).
2. Does anyone know a way to get around that problem (a null value, blank label, text string with a space, etc.)?
3. Or, is there's an easier way to label grades only where I want, namely pavement surface and sidewalk?
Thank you