Select similar
Hi all deos anyone know if bcad has a similar function to' sellect simila'r in acad. I can have hundreds of similar blocks in my drawing and up until now I have had to count all the blocks manually.
In acad i would select one of the block,s and properties would let me know how many similar objects I have in my drawing
Anyone help?
Cheers
Comments
-
To count how many blocks of the same definition exist in the drawing choose Blocks in the Settings menu, then choose the DETAIL VIEW in the Drawing Explorer - Blocks dialog window. In the REFERENCES column you can read the number of instances of each block.
0 -
There are a number of selection filter options including block names, layers etc. You have to know the property you want to filter for that.
I use the following lisp to make it easier. I load it in the startup and run it transparently inside selection commands, as in !(like)
(Defun LIKE ()
(SETQ A (strcase (GETSTRING "\n<B>lock: <L>ayer: <LT>: <T>ext:")))
(if (= "B" a)(setq a 2))
(if (= "L" a)(setq a 8))
(if (= "T" a)(setq a 1))
(if (= "LT" a)(setq a 6))
(if (= "C" a)(setq a 62))
(setq b (cdr (assoc a (entget (car (entsel)))))
ss (ssget "x" (list (cons a b))))
)The Explorer actually counts blocks (just type "B"), but those totals have been inaccurate in the past and not too sure how it counts say, nested blocks.
If you can satisfy yourself about its accuracy that's a good way to just count blocks.
0