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: 

Make text slide along a polyline

17 REPLIES 17
Reply
Message 1 of 18
AllenJessup
4102 Views, 17 Replies

Make text slide along a polyline

About 6 years ago some people in the Land Desktop group were complaining about not being able to move the text in a linetype so as not to obscure other entities. Peter Funk gave me some suggestions that I've finally tried to figure out. <origianl post>

 

I'm attaching a document that explains how I went about it and a drawing showing an example. Drawing is 2012.

 

I don't say this is going to replace linetype. I'm also going to see if there's a better way of doing this with Civil Objects. But I've wanted to figure this out for a while and had some down time today. So this is for you to play with if you want. I was looking at my Undocumented Commands file and that reminded me of it since this done with un(or little)documented commands.

 

If you open the drawing. Select one of the magenta circles (nodes) in the center of the text to activate grips. Select a triangular grip and use it to slide the text along the polyline.



Allen Jessup
Engineering Specialist / CAD Manager

17 REPLIES 17
Message 2 of 18
tcorey
in reply to: AllenJessup

Thanks, Allen. What a nice gift for all of us Civil 3D nerds here!



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 3 of 18
neilyj666
in reply to: tcorey

Great tip - I wouldn't have figured that one out in a month of Sundays...!!!

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 4 of 18
Joe-Bouza
in reply to: AllenJessup

Thats a good one Allen. I need to study a bit.

 

I make c3d line curve styles with text like 8"W and add multi segments. If I need more I copy in place ans slide to position and if I need less I delete as needed.

Thank you

Joseph D. Bouza, P.E. (one of 'THOSE' People)

HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram


Note: Its all Resistentialism, so keep calm and carry on

64 Bit Win10 OS
Message 5 of 18
AllenJessup
in reply to: neilyj666


@neilyj666 wrote:

Great tip - I wouldn't have figured that one out in a month of Sundays...!!!


It obviously took me longer than that. I wasn't working on it all the time of course. Smiley Happy



Allen Jessup
Engineering Specialist / CAD Manager

Message 6 of 18
AllenJessup
in reply to: Joe-Bouza


@Joe-Bouza wrote:

I make c3d line curve styles with text like 8"W and add multi segments.


Yeah! As I said, there's probably a better way to do it with Civil Labels. That's my next step. I just wanted to put DONE on this one.



Allen Jessup
Engineering Specialist / CAD Manager

Message 7 of 18
AllenJessup
in reply to: tcorey


@tcorey wrote:

Thanks, Allen. What a nice gift for all of us Civil 3D nerds here!


Believe it or not. When I tried to explain the EE program to one of our Engineers and mentioned that there are only 64 right now. He said "That's because no one else will admit to being that big of a computer nerd".



Allen Jessup
Engineering Specialist / CAD Manager

Message 8 of 18
AllenJessup
in reply to: Joe-Bouza


@Joe-Bouza wrote:

 

I make c3d line curve styles with text like 8"W and add multi segments. If I need more I copy in place ans slide to position and if I need less I delete as needed.


Joe,

Are you creating a bunch of segments in the polyline to get multiple instance of the text or do you just rely on copy. Is there maybe a method of putting multiple labels on one segment that I've missed?

 

 



Allen Jessup
Engineering Specialist / CAD Manager

Message 9 of 18
dseatter
in reply to: AllenJessup

Allen,

Thanks for sharing. Works great.

I will be using this technique for PADOT work.

I have been struggling with required spacing and visibility for my utility lines

and this should really help.

Dave Seatter, PLS
C3D 2013 SP1
Win 7 x64 Pro SP1 - 12.0 GB RAM
Intel Xeon W3530@2.8 GHz - ATI FirePro 4800
Dell T3500
Message 10 of 18
troma
in reply to: AllenJessup


@AllenJessup wrote:

 Is there maybe a method of putting multiple labels on one segment that I've missed?

 

 


Well, just clicking on the polyline will add the labels a second time.  But they'll be on top of each other, in the middle of each segment, not nicely spaced out along the line.  This avoids using the copy command, but doesn't really get you where you're trying to go.


Mark Green

Working on Civil 3D in Canada

Message 11 of 18
Joe-Bouza
in reply to: AllenJessup

If there is a lisp that will divide into segment of desired span that would be helpful otherwise multilple lables an side around. I was not overly conerned with uniformed spacing since the desire was to have a mobil lable

Thank you

Joseph D. Bouza, P.E. (one of 'THOSE' People)

HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram


Note: Its all Resistentialism, so keep calm and carry on

64 Bit Win10 OS
Message 12 of 18
AllenJessup
in reply to: troma

What I ended up doing is using some 3rd party software (SmartDraft) to insert vertices along the PLine at a specified distance. That way I can insert on multiple segments and get the label ever X number of feet/meters.

 

There are Lisp routines out there that will insert PLine vertices or you could use Measure and insert them manually at the resultant points or create Civil points and connect those by number. Probably another dozen ways.



Allen Jessup
Engineering Specialist / CAD Manager

Message 13 of 18
AllenJessup
in reply to: Joe-Bouza

This one will create multiple segments but has to be used when creating the plolyline.



Allen Jessup
Engineering Specialist / CAD Manager

Message 14 of 18
troma
in reply to: AllenJessup

The "Insert Elevation Point" command will insert PIs at an increment along a 3Dpoly.  So you can convert your polyline to 3D, insert the PIs and then convert it back to 2D if you like.


Mark Green

Working on Civil 3D in Canada

Message 15 of 18
AllenJessup
in reply to: troma

That would work. I have the 3rd party so I don't need to do that myself. If you did use measure and set points along the line. You could use Insert PI to pick them. Not as quick though.



Allen Jessup
Engineering Specialist / CAD Manager

Message 16 of 18
Joe-Bouza
in reply to: troma

You get kudos for that but it kinda falls aprt on curvesSmiley Wink

Thank you

Joseph D. Bouza, P.E. (one of 'THOSE' People)

HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram


Note: Its all Resistentialism, so keep calm and carry on

64 Bit Win10 OS
Message 17 of 18
troma
in reply to: Joe-Bouza

Thanks.

So you have curved watermain?  Or what is the 8"W of which you speak?  Smiley Wink


Mark Green

Working on Civil 3D in Canada

Message 18 of 18
Joe-Bouza
in reply to: troma

No worries; That was only an example to discuss. I liked you 3d>>ins elev>> 2d but notice arc get a bazillion nodes.

 

Perfect for straight lines

Thank you

Joseph D. Bouza, P.E. (one of 'THOSE' People)

HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram


Note: Its all Resistentialism, so keep calm and carry on

64 Bit Win10 OS

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

Post to forums  

Rail Community


Autodesk Design & Make Report