- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Not as I anticipated from your initial post.
Attached is a preliminary lisp file and a modifyed example drawing. The lisp file has two lisps and associated functions within.
Download both and save to a location of your choice.
Open "example" drawing. I have modified this drawing to contain an extra block "pmark" and added an extra cable run with color 190.
Load the lisp file by typing appload on the command line. When the dialog appears, navigate to where you saved the lisp file, left click on it to select the press the load button then the close button.
Both lisps are set up to allow the selection of multiple lwpolylines, and will then process all the polylines. At present they both ask for an insertion point and display the "routes" as an Mtext object. I will insert the code to write this to an excel file when i have all the correct information. Do you have a layout for the excel sheet in mind?
Lisp : Test1. Type test1 on the command line. This will ask you to select all the polylines you want to process.
It will then ask for an insertion point and used that to insert the text. This distinguishes the polylines by color.
Lisp : Test2. Type test2 on the command line. This will ask you to select all the polylines you want to process. It inserts a marker block at the start and end of the polyline which containing a number. It will then ask for an insertion point and used that to insert the text. This distinguishes the polylines by marker number.
I notice that all your polylines are on layer "0". Is this always the case? The current code extracts the layer and color of each polyline, so this information could be included as could the polyline length.
Which do you prefer, or do you have something else in mind?
I am not one of the robots you're looking for