Hi:
I have a drawing with contours every 1m and according to the area that I have to display in my layouts I have to display contours either 2m, 5m or 10m.
How is possible to create labels for only this elevations and if it is possible, create several labels along one of these contour with specific interval
Thanks
Rafael
Simplest way I can think of is to set the Major contours to 2 or 5 or 10, as you wish, and then set the minor contours to 1m. Then when you add the labels you can set the minor labels to none, and the major labels to display the right label style.
As you add labels there is an option for Multiple at interval, but I don't use it much. I'm sure there is a way to set the interval.
Mark Green
Working on Civil 3D in Canada
Are you wanting to cross all the contours at once, but only have those that are 2m, 5m, and 10m labeled?
Look into using Expressions. With a good set of expressions referenced into your label style, you should be able to accomplish this.
For example, one expression would say If SurfaceElev divided by 10 is a whole number, set label height to some postive number and to 0 if not. Next expression would say if divisible by 5 but not 10 and the next would be if divisible by 2 but not 10. I don't have time at the moment to design the expressions for you. Sorry, but next week I might be able to help if you haven't figured it out.
Best regards,
Tim
Hello,
To enter multiple tags with contour interval:
1. Select the surface.
2. Tab Labels and Tables;
3. Click on Add Label -> Contour - Multiple at Interval
4. Pick first point:
5. Pick second point:
6. Interval along contour <100,000>:
Thanks
Adriano Oliveira
Diretor Soluções BIM MaxiCAD
MaxiCAD Soluções e Educação BIM.
Facebook | Twitter | LinkedIn
@tcorey wrote:Are you wanting to cross all the contours at once, but only have those that are 2m, 5m, and 10m labeled?
Look into using Expressions. With a good set of expressions referenced into your label style, you should be able to accomplish this.
For example, one expression would say If SurfaceElev divided by 10 is a whole number, set label height to some postive number and to 0 if not. Next expression would say if divisible by 5 but not 10 and the next would be if divisible by 2 but not 10. I don't have time at the moment to design the expressions for you. Sorry, but next week I might be able to help if you haven't figured it out.
Best regards,
Tim
HERE is my write up on how do accomplish just that but instead of using text height, I hide negative values (won't work if you are labeling a volume surface or have negative values for your surface but here in Colorado, we don't get much below sea level).
Thanks, Brian!
Brian, you use the -1 for compatibility with old versions of Civil 3D that don't allow 0 text height, is that right? That eliminates using 0.00001 and getting a visible dot.
For users of newer versions, 2013 I am positive and I think as far back as 2011 (check it!,) you can use a return of 0 for text height in the false condition and then the label will not display. Older versions won't accept a 0 text height for a label, hence Brian's use of -1.
Great solution, Brian. Thanks for sharing.
Tim
@tcorey wrote:Brian, you use the -1 for compatibility with old versions of Civil 3D that don't allow 0 text height, is that right? That eliminates using 0.00001 and getting a visible dot.
Tim
Nope. I used it because I didn't know you could set a text height of 0 via an expression. Thanks for the tip!
By the way, you can't type in a height of 0 but it seems to work via expressions.
Doesn't really apply here, but I found for alignment labels you can't use an expression to set the text height for a reference text componant. So I went with the tip from your blog: making an expression to return a negative value and hiding the negatives. Works great!
Mark Green
Working on Civil 3D in Canada