Skip to main content
Question

Repeating Label along polyline AutoCAD

  • July 26, 2017
  • 4 replies
  • 194 views

Folks,

I've been converting Mapinfo to AutoCAD and largely successful. I have a fully defined template drawing I need to adhere to so I have almost no flexibility.

I have successfully labeled lines with an attribute. However I'm tasked with the requirment to repeat a label at some defined interval along the length of a very long line.

Is there a convenient way to have a repeating label text along a line with a "distance" parameter?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

lars_de_vries
Forum|alt.badge.img+10

Hi @andyew,

You can use a Chopper to create smaller Lines and subsequently replace the splitted polyline with Labels.

Set the Chopper Mode to 'By Length' and give the Approximate Length to the distance you want between the labels.

Kind regards, Lars

 


  • Author
  • July 26, 2017

Hi @andyew,

You can use a Chopper to create smaller Lines and subsequently replace the splitted polyline with Labels.

Set the Chopper Mode to 'By Length' and give the Approximate Length to the distance you want between the labels.

Kind regards, Lars

 

Once again @lars_de_vries perfect solution. Thanks.

 


erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • July 26, 2017

The Labeller transformer can create labels along a line at a specified distance.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • July 26, 2017

you can use arithmitc editor

set ByLenght

@length()/$Segmentlenght

Even handier is to put the chopper in a custom transformer, create the arithmetic and in the arithmetic editor create the user parameter for Segmentlenght.

That way you only have to fill the parameter to change distance between labels.

(For my ow convenience I created a segmentor custom some time ago with many options for this, using mainly snipper in iterative mode.)