Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Labeling a Line with multiple segments as one segment?

23 REPLIES 23
Reply
Message 1 of 24
GreeneSWCD
1802 Views, 23 Replies

Labeling a Line with multiple segments as one segment?

I have a bunch of lines that are created with multiple segments.  I'd like to annotate the total length.  I can't figure out to do this without labelling each segment along the line using Line and Curve commands.  How do I get one annotation that only shows the total of all the sements? 

 

I'm sure this is an easy fix, I'm just not seeing it. 

 

Thanks. 

23 REPLIES 23
Message 2 of 24
wfberry
in reply to: GreeneSWCD

Hey Mr. Green:

 

You should ask this question over in the Civil 3D newsgroup.  This NG is for the operation of the two water/sewer programs.

 

Bill

 

http://forums.autodesk.com/t5/AutoCAD-Civil-3D/ct-p/66

 

 

Message 3 of 24
GreeneSWCD
in reply to: GreeneSWCD

Whoops, wrong forum...
Message 4 of 24
GreeneSWCD
in reply to: GreeneSWCD

Thanks for moving this for me. 

 

So any solutions to this problem? 

 

Jeremiah

Message 5 of 24
AllenJessup
in reply to: GreeneSWCD

They've included the option to label between points in 2013. I'm still using 2012 so in there or below you have to draw a line that extends the whole distance you want labeled. You can put this line in a no-plot layer, give it a no-plot color or send it to the back if you don't want it seen.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 6 of 24
GreeneSWCD
in reply to: GreeneSWCD

Back in Eagle Point, you could JOIN all the segments and then it would label the line entirely, but that doesn't appear to work in C3D. 

 

I also tried to draw the line as a spline, but that wouldn't lable at all. 

 

Is there any other way to draw this line to get the label to workout? 

 

Thanks for your help. 

 

Message 7 of 24
AllenJessup
in reply to: GreeneSWCD

OK. Since my suggestion to draw a line that stretches from one end to the other of the vector you want to label didn't seem to work out for you. I'm thinking we're missing some information. I was envisioning the situation where you had parcels that shared a common line where each parcel needs it's own label but you want to label the overall on the common line.

Are these line segments at different angles? Are you looking for what would basically be the total length of a polyline? Can you post a screen shot of what you're trying to do?

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 8 of 24
wfberry
in reply to: GreeneSWCD

1. When you pedit that line and join all segments, use the LENGTHEN command and get the length.  Type it in.

 

OR

2.  Use the Autocad FIELD command and use it to get the length and label with MTEXT.

 

I guess the question is:  How many times a day do you need this?

 

Bill

 

 

Message 9 of 24
AllenJessup
in reply to: GreeneSWCD

For more detail on using a Fields and a Lisp that will do it automatically see [this] thread.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 10 of 24
jmayo-EE
in reply to: GreeneSWCD

I attached a file with a segment and overall length label styles.

 

There are a number of ways to add labels to line and segments. Use the dialog to control what you add.

 

Type ADDLABELS at the comand line. Select the line and curve option from the drop down. Set the next dropdown to be Single Segment and add the overall lendth label. Set the dropdown for mult segs and add the segment length style.

John Mayo

EESignature

Message 11 of 24
wfberry
in reply to: jmayo-EE

OK John:

 

I hereby nominate John Mayo for the prestigious "Double Atta-Boy" award.

 

Smiley Very Happy

 

Bill

 

 

Message 12 of 24
AllenJessup
in reply to: wfberry


@wfberry wrote:

 

I hereby nominate John Mayo for the prestigious "Double Atta-Boy" award. 

 


I hereby dub John the 'Wizard of Styles"!  He could also be up for the Felix the Cat award since he's continually reaching in to the bag of tricks. I'm dating myself with that referenceSmiley Surprised

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 13 of 24
jmayo-EE
in reply to: AllenJessup

Thanks Allen. I hope it helps the OP. 🙂

 

Carefull of that cat. He was drunk and smoking cigars in his first cartoon.

John Mayo

EESignature

Message 14 of 24
AWesterlund
in reply to: jmayo-EE

I see you are very good with label styles. Nice! It seems to work only when the segments are of one initially created polyline.  What I want to do is label lines by picking points like I did in 2009.  For instance, in the picture I attached I have a property boundary that contains three segments and you will see it labeled 722.17'. I had to add my label, explode, explode attributes, then inquire the distance and change it to 722.17'. I used to be able to pick points on a line and through the label in there no problem!

Message 15 of 24
jmayo-EE
in reply to: AWesterlund

Type addlabels at the command line to open the Add Labels dialog.

 

Select from the dropdowns the following. Line Curve and Single Segement.

 

Now create, edit or select a line label style that will display the segment End Z.

 

Click the Add button and you can select any line at any point add see the label. If the label appears on the wrong end of the segment either reverse the feature line or create and add a lebel that displays the segemnt start Z.

John Mayo

EESignature

Message 16 of 24
AWesterlund
in reply to: jmayo-EE

For a minute, I couldn't figure out why it kept listing 0.00' with the end Z / start Z.  I played with the start X / start Y and realized this function lists the specified coordinate of the line chosen.  I'm looking for a label that will allow me to choose the sarting and ending point of the bearing and distance.

 

thanks

Message 17 of 24
AllenJessup
in reply to: AWesterlund

It's available in 2013, not 2012. There may be a lsp. I'll search tomorrow.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 18 of 24
AWesterlund
in reply to: AllenJessup

An lsp would be greatly appreciated.  Can't seem to find one on my own.  If not we may be going back to 2009 in our office.

 

Thanks

Message 19 of 24
Jeff_M
in reply to: AWesterlund

Create a layer for lines to label, set this layer to NoPlot. Draw lines on this layer for those places you need to label like that. Label those lines. Yes, it's a bit unorthodox. Yes, it's a PITB. It's still far better than going back to LDD, imho.

Jeff_M, also a frequent Swamper
EESignature
Message 20 of 24
jmayo-EE
in reply to: Jeff_M

That's just what we do. Draw a line and label it. Send it under the parcel segment of place it on a no plot layer.

 

2013 will fix it and like you, I would never go back to LDD. 😉

John Mayo

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report