×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Does anyone know how to write a lisp file??

Does anyone know how to write a lisp file??

Does anyone know how to write a lisp file??

(OP)
I need to write a lisp file to count the number of certain blocks in a drawing.  Does anyone know how to do this??  Thanks for the help.

RE: Does anyone know how to write a lisp file??

Hi, Fyrman:

What version of acad are you using? acad 2000 should have a program on the express menu.

Roberto.

RE: Does anyone know how to write a lisp file??

(OP)
Yeah, Acad 2000...I didn't find anything in Express tools.

RE: Does anyone know how to write a lisp file??

The express tool you're looking for is "bcount", one of the express tools that are "command line only".

Flores

RE: Does anyone know how to write a lisp file??

(OP)
AWESOME MAN!!!  Thanks a LOT!!  Yall have a Merry Christmas!!

RE: Does anyone know how to write a lisp file??

You should be able to do something like:
"SELECT"
"(SSX)"
Pick the block you want to count
It says how many were found.

RE: Does anyone know how to write a lisp file??

The attribute extraction routine has functionality built in for doing this. Then you can use that data in an excel file or even access.

RE: Does anyone know how to write a lisp file??

Just be aware that BCOUNT does not count nested blocks... (blocks within blocks).  And AutoCAD 2002's EATTEXT (Enhanced ATTribute EXTract) has a much easier to use interface that:

a.) Handles nested blocks and XREFs,
b.) Can write directly to an XLS or MDB file (if Excel or Access is installed),
c.) Can be saved to a template for frequent or similar extractions.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources