count blocks with attriubte

count blocks with attriubte

muhamed_ragab92
Enthusiast Enthusiast
1,779 Views
2 Replies
Message 1 of 3

count blocks with attriubte

muhamed_ragab92
Enthusiast
Enthusiast

hi i have this lisp to count blocks with legend in auto cad , can i find a solution to make that same feature but added with count blocks and attributes , example for that if i have the 20 from the same block but 10 of them is with specific attribute can add script on this lisp to do that and insulate blocks with attributes and show the number 

0 Likes
1,780 Views
2 Replies
Replies (2)
Message 2 of 3

pbejse
Mentor
Mentor


@muhamed_ragab92 wrote:

hi i have this lisp to count blocks with legend in auto cad , can i find a solution to make that same feature but added with count blocks and attributes , example for that if i have the 20 from the same block but 10 of them is with specific attribute can add script on this lisp to do that and insulate blocks with attributes and show the number 

 


The result after running the routine looks like this now.

 

 

Select blocks to count <all>:
============================================================
Block Data
------------------------------------------------------------
Block Name                                        Count
------------------------------------------------------------
B.....................................................3
A.....................................................3
============================================================

Show us how it should look after including the attributes.

 

pBe

Message 3 of 3

muhamed_ragab92
Enthusiast
Enthusiast

I MEAN LIKE THAT , NOTICE ALL THIS IS ONE BLOCK WITH DIFFERENT ATTRIBUTES - SO I WANT ADD FEATURE TO THIS LISP IS COUNT BLOCK WITH ATTRIBUTE 

0 Likes