Hello,
I am searching for a lisp code to replace the standard Data Extraction, which I find too glitchy and slow.
I found a few codes similar in the network, 2 of them by Lee Mac (CountAttributeValues and SumAttributeValues).
However, none of the codes I found is capable to fit my needs.
I am attaching samples of tables I have created with dataextraction (exploded afterwards). My blocks have many attributes and CountAttributeValues does not let me filter out ones I don't need. Also I need more columns to display other attributes.
First I need to select all blocks with name "Slab" in the drawing. Since I have many floors, and then floors are divided by Bays, I have tags FLOOR and BAY in each "Slab" block to use as a filter.
From all the blocks named "Slab" I filter blocks that have FLOOR attribute set to the floor I am preparing the table for (1,2,3,R,B, ... etc.).
After this rows are grouped by BAY attribute (1a, 1b, 1c, 2a, 2b, 2c ... etc.)
Then I list values for a few other attributes, that are constant for each bay (GAUGE, LENGTH, REBAR).
Similar calculation is done for each floor.
After this I prepare two other tables which are also presented in the attached file.
All the tables are inserted as AutoCAD tables in the drawing (usually 1:1 scale, on the layout).
Would much appreciate any feedback.