PDA

View Full Version : Lisp for counting blocks?



Bloke
4th Oct 2003, 04:54 am
Hi,

Does anyone know where a bloke can get his hands on a lisp routine for counting blocks (name specific?) within a drawing? I'm looking to easily count the number of light fixtures of different types within a drawing.
I nearly had one on google but the site has been discontinued (www.cadresource.com).
All comments & suggestions welcome.

Bloke

Mr T
4th Oct 2003, 08:45 am
Type CONTENT and then the content explorer should open and a tree like explorer view of the drawing contents should appear.

The sreenshot below shows a cadtutor file with the content and blocks
previewing.

http://www.eezylearn.pwp.blueyonder.co.uk/tutorials/cad/content.gif

Nick

hyposmurf
4th Oct 2003, 10:47 am
I know what your talking about :) !We have to count hundreds of lighting types for stupid asset schedules!Have a look at one of my previuos threads,this will work so long as youre not using the light version and have the express tools loaded.No fancy LISP needed!
http://cadtutor.net/forum/viewtopic.php?t=696&highlight=bcount

Flores
4th Oct 2003, 02:15 pm
Use "bcount" from the Express Tools.

Flores

Bloke
9th Oct 2003, 06:24 am
Thanks for the replies - the bcount command did the trick perfercctly.

Bloke