tora Posted November 30, 2009 Posted November 30, 2009 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! Quote
rkmcswain Posted November 30, 2009 Posted November 30, 2009 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. Quote
Lee Mac Posted November 30, 2009 Posted November 30, 2009 I'm not sure if BCOUNT includes nested blocks, if not: http://www.theswamp.org/index.php?topic=29988.0 Quote
Recommended Posts
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.