@gavin9X6Z5 hi,
it looks very easy to do but it only looks. pity you did not post a sample drawing anyhow attached kerb.zip file contains 2 files: kerb.VLX and a block kerb_tag.dwg. extract these files to a library folder which is on your support files search path. load the lisp with appload. command to run KERB.
read these instructions very carefully:
the command starts with Select objects: let you to to select your polylines (kerbs). open polylines ignored (and you even will not notify about). the polylines must be from 4 points (those that are not simply rejected). polyline segment can be polyarcs.
than you require to select the first kerb (this is for numbering)
Select the first kerb:
than
Starting# <1>: < specify the starting number>
all the rest is done automatically. block kerb_tag will be insert in middle of kerb has 3 attributes the first called 'tag' (tag number) the second 'length' (is the length of the first polyline segment) the third 'width' (is the length of the second segment) if the segment is an arc it will return the arc length. length and width are invisible (but you can see them if you set ATTDISP to on). depending on how you draw the polylines you decide what is the length and what is the width. if the result is not what you expected, then reverse the polyline (PEDIT reverse). attributes base height is 0.2 drawing units and the block is inserted at scale multiplied by dimscale so you have to set a reasonable dimension style.
the second time you run KERB (and there are already some kerb_tags in), the starting number that will be at default is the last number incremented by 1. if you want to rerun kerb on kerbs that is already done, include the kerb_tag blocks in your polylines selection (the old blocks will be replace with the new)
as i said my challenge was not easy but i stood it now it's your turn to create excel file as you wanted. you can do it with DATAEXTRACTION command...explore it.
enjoy
moshe