Sequentially Numbering PLINES At End Vertex Based On Layer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Here's a tricky one that I'm trying to achieve. I draw wiring schematics with AutoCAD LT and I'm trying to find a way to sequentially number PLINES that represent physical cables. Ideally we would draw the entire schematic before numbering the cable PLINES. Each type of cable is represented by a different layer, linetype and colour. At present I number all of the cable ends manually and it's extremely time consuming.
I would like a macro that I would use to do this for me. Ideally it would work as folows.
1 - Activate numbering.
2 - Set first number to start the sequence and perhaps prefix & suffix for punctuation and alpha char.
3 - Click on lines one-by-one to apply cable numbers to each end of the PLINES. The very end, not the next vertex.
4 - The position of the numbers at set distances from the end of the line, always the same distances, same size and font etc. Always horizontal.
5 - Deactivate numbering
This is my first foray into macros so I'm going to need some assistance. I know how to make one and assign it to a button in the ribbon etc.
Where should I start?
Many thanks in advance,
Matt.