an automation that requires excellent knowledge of the language
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I know this might be an insane request, but I have tried several times, step by step, but always ended up throwing my head against a wall.
If possible, please give me advice on how to do this, or (better for me honestly) an already working lisp file
in case you have any lsp programs that can help me do this, please include as many descriptions as possible so that I can also figure out how to proceed on my own
things to take into account:
- I have autocadLt
- this program must also be run by people who do not have autocad in the English version (I have found that to make it work anywhere, you just have to put the ‘_’ sign before any command) (example: ‘_command-in-English’)
What I need:
# counts:
- for each block, indicate layer and quantity
- if there are polylines, indicate per layer, colour and thickness a sum of lengths (except those in the ‘countlayer’ layer)
- if there is nothing, do nothing
# format:
- 2 charts: one for blocks and the other for lines
- the chart for blocks must have 4 columns: area*, block name, layer, quantity
- the polilynes chart must have 5 columns: area*, thickness, layer, colour, length
- the counts must be divided into *areas specified by a polyline closed in a specific layer (let's call it ‘countlayer’)
- as the first column of the chart for each area, there must be a text specified by a text in the ‘countlayer’ layer within the area specified by the polyline, the text must be composed as follows: ‘count: *’. where the symbol ‘*’ indicates the content that is to be displayed as an inscription in the first column of the chart. If the text is missing, stop program execution and warn that it is missing before starting to count any area
# saving:
- the tables must be saved in an excel table in the same folder as the dwg file
- the file must be saved with a name in yymmddnn format: last 2 numbers of the year, month, day and progressive number starting with 00 that increments each time you run the command on that day
i know this is difficult, so thanks in advance for any tips you can give me