basepointdesignz
Programmer
Hi,
I would like to write a small program that searches and counts numbers of a particular block attribute values or text values..
Basically, for quantifiying materials on a project, I will sometimes create blocks of say a certain galv steel bracket and add an invisible attribute with the schedule reference as the value, and then using the FIND command's 'Replace All' function, count the number of values that the Replace finds..
Now this is ok but a bit long-winded, so I was wondering if there is a system variable that AutoCAD uses to store the count value of the FIND command - something I can then read / write within VBA or LISP..
Or if anyone knows of another way I can achieve this or even a freeware program already created I can use..
Cheers,
Paul @ basepoint designz LTD..
basepointdesignzLTD
I would like to write a small program that searches and counts numbers of a particular block attribute values or text values..
Basically, for quantifiying materials on a project, I will sometimes create blocks of say a certain galv steel bracket and add an invisible attribute with the schedule reference as the value, and then using the FIND command's 'Replace All' function, count the number of values that the Replace finds..
Now this is ok but a bit long-winded, so I was wondering if there is a system variable that AutoCAD uses to store the count value of the FIND command - something I can then read / write within VBA or LISP..
Or if anyone knows of another way I can achieve this or even a freeware program already created I can use..
Cheers,
Paul @ basepoint designz LTD..
basepointdesignzLTD