AutoCAD/Need a Lisp File

Advertisement


Question
HI, my name Bill Curtis, I'm an Irrigation System Designer.  I know there is a Lisp file made to suit my purpose, but I don't know where to find it.  Perhaps you could tell me or I could pay you to make it up for me.  It's simple really, I'll explain what I need.  I insert several sprinkler head symbol's into the drawing, the symbol's have a "gallons per minute" attribute in the block.  Next, I want to draw a polyline around a group of sprinkler symbol blocks and have a lisp file tell me how many gallons per minute are within the boundries of the pline.  I don't care how the display is shown, I only care to know exactly the total gallons per minute within the area I encircled with the pline, quick and dirty.  I know about the eattext command, but that is way to slow.  If you can help me please let me know.
Thank you
Bill Curtis
(407) 830-7041  

Answer
Yep that's pretty easy alright.
It would be a select objects prompt, with a filter, then an simple loop to do the addition. so if you want a fancy polygon, it would be more time involved. If you can live with a select objects prompt only, with a filter on block name, I think you'd be OK.
Do you ever need it to work for different blocks or attribute names?

AutoCAD

All Answers


Answers by Expert:


Ask Experts

Volunteer


Scott Cook

Expertise

I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!

Experience

Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com. PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.

©2012 About.com, a part of The New York Times Company. All rights reserved.