Author Topic: Make a block list with count and attribute value  (Read 1381 times)

0 Members and 1 Guest are viewing this topic.

GDF

  • Water Moccasin
  • Posts: 2081
Make a block list with count and attribute value
« on: November 22, 2015, 08:42:28 AM »
I have this routine by Tim Wiley posted here. I would like to modify his routine making a block count listing all of the "SYMWDW" blocks in a drawing based upon their attributed value. The output just needs to be in a simple text list.


Example:

value:      count:
----------------------------
36x70      4
40x80      5

Any help would be appreciated.
Thanks
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

GDF

  • Water Moccasin
  • Posts: 2081
Re: Make a block list with count and attribute value
« Reply #1 on: November 22, 2015, 09:00:14 AM »
Found this one by:

;;;--- BLOCKS.lsp   -  Retrieve quanties of blocks filtering by block name, tag, and or value.
;;;--- Copyright 2005 by JefferyPSanders.com
;;;--- Function to get the block data
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64