Jump to content

Recommended Posts

Posted

Hi everyone!

I'm quite new to both autocad and autolisp, so please forgive my questions:P I was wondering if someone could help me solve some time wasting problems.

Sometimes I have to count the number of certain objects inside a drawing (eg fancoils o things like that), I would like to know if there is an automatic way to do it. I have another problem actually, because sometimes I have to calculate the lenght of a pipeline drawn as a series of boxes of different sizes. Untill now I used to draw a polyline crossing all the blocks and then calculate it's lenght, but it is a time consuming issue. Any ideas?

Thanks to anyone who would like to help! :)

Posted
Sometimes I have to count the number of certain objects inside a drawing (eg fancoils o things like that), I would like to know if there is an automatic way to do it.

 

If these "objects" are blocks, you can use BCOUNT or DATAEXTRACTION. The latter can generate a "live" table in the drawing that will update as your total changes, and you can also use this tool to "scan" an entire set of drawings.

Posted

I'm not sure if BCOUNT includes nested blocks, if not:

http://www.theswamp.org/index.php?topic=29988.0

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...