Author Topic: Label polyline/Lwpolyline with given distance  (Read 1782 times)

0 Members and 1 Guest are viewing this topic.

matrix2005in

  • Guest
Label polyline/Lwpolyline with given distance
« on: June 28, 2006, 10:09:16 AM »
hi
does any one has a code for lableing polyline with a given distance....
eg:-

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Label polyline/Lwpolyline with given distance
« Reply #1 on: June 28, 2006, 11:10:25 AM »
Why don't you try and code it yourself first, and then post back when you have questions.  This is a place for learning.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

matrix2005in

  • Guest
Re: Label polyline/Lwpolyline with given distance
« Reply #2 on: June 28, 2006, 11:38:07 AM »
hi

i am just a beginner...if you give me a code then i will do modifications myself do the way i want to be...the main problem with me is ...writing a code start from scratch..i don't know where what syntax can be used...this is a learning curve for me..if you See my other postings...i do many test and offcourse return with many doubts.. :-)


T.Willey

  • Needs a day job
  • Posts: 5251
Re: Label polyline/Lwpolyline with given distance
« Reply #3 on: June 28, 2006, 12:24:04 PM »
You could start by writing a pseudo code, and then fill it in.  I have seen Alan (CAB) post this method plenty of times to people who want to learn to write code.

You first need to select the polyline, then you need to ask for the distance you want to divide it, then the code should do the rest.

I have one that I wrote the does almost what you want, but I want you to try to write your own code first instead of people just supplying you with working code, or you won't learn.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.