lisp for automatic data extratiocn

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm wondering if it is possible to write a lisp for the following situations.
We're doing two kinds of data extraction, and it takes some time to fill in the extraction form. If we could do it by typing in a command to get the results this would be great.
There's just one difference between the data extractions. The first one is for a 25 mm headpipe and 25 mm pipes to the sprinklers. This data extraction looks like the following steps:
step 1:
step 2:
Step 3:
Step 4:
Step 5:
Step 6:
This will export the lengt of the selected polylines and lines into an excel sheet. (the layers of these lines are just for a controle check). If it is possible to do this with a command (something like berekenleiding25 ) it would be great and saves a lot of time.
The other data extraction is for headpipes with a 32 mm / 40 mm diameter and 25 mm pipes to the sprinkler.
It looks quite the same as the data extraction shown above, but now it should only take the length of the lines and not the polylines. I think the command for this should be something like berekenleiding
All the data extractions could be saved in one excel file and this file could be overwritten each time we use the command. (i could enter the filelocation by myself in the lisp if marked where to do).
I've attached an example dwg and the files I'm currently using for data extraction.
I'm wondering if this is possible and if anyone is able to help me (i'm just a basic level autocad user, writing lisp's is something I've never done before).
Kinds regards,
Niels