Hi guys,
I wonder if you could help me. When I go into a drawing, I'd like to be able to find out how many objects (polylines or blocks or texts) total are in each layer. Perhaps a list showing the number of entities per layer would be nice. Thanks in advance!
Solved! Go to Solution.
Solved by Lee_Mac. Go to Solution.
That's very awesome, Lee! Thanks again for your timely rescue. That's exactly what I was looking for! LOL 🙂
You're most welcome kameron!
Hi
Can you report the lisp again because not it not available on the link. i am also looking for a same lisp... thanks in advance.
Hey Lee - I wanted to tell you that I really love your entity counting routine. It's really great. I think the person asking for it is going to love it also. Cheers! 🙂
Many thanks kameron - I'm delighted to hear you find it so useful!
Lee
Hello Lee
I like your LayerCount routine but the result is not ordered ! ... and the text screen is not very useful sometimes !
So please is it possible to get an other version that will write the same result to a text file (.CSV) for example, and Excel will work ...
Thks in advance, Patrice
Patrice BRAUD
Hey @Lee_Mac , I know this thread is old now but I still would like to use your solution. Running on AutoCAD 2018, I'm new-ish to AutoCAD and am moving away from DataCAD. I don't really know how to use your file. I've loaded it into the Visual Lisp editor but I'm not familiar with running a Lisp. I've looked up a few videos about creating and using commands for a Lisp but I'm sure I'm missing a crucial point.
Is there a specific command/prompt/input that I have to use to get the list of entities? Does your solution still work with this version of AutoCAD? Would this show a new column in the Layer Manager with a count of entities per layer? Thanks for any help.
Delane
Just used this on a fairly large file and it worked great! Thanks for posting.