Message 1 of 2
Autolisp help

Not applicable
11-29-2021
11:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am composing my post again as i didn't include the necessary info the previous time.
I am very new to learning Autolisp but i have been handed a script at work that i have to modify. The command is ADDLINETEXTSIMPLE and its use is:
type the command >> select a line or pline >> type the meters
This way i can generate a line_text block that holds as attributes the layer, the meters in km, the linesegmentid and the line handle. Is there a way i can modify the lisp as to be able to select many lines at once and have the blocks generated for each line alltogether?
You will find the script and the dwg file attached.
Thank you