AutoCAD/need 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
Bill:  I am working on a solution.  Got some help from somebody on a subroutine.  Will work on this over the weekend.

Keep in touch
Bill DeShawn
http://my.sterling.net/~bdeshawn


OK, Bill I have code that works.  Currently the code looks for a block named "sprinkler" and the block is to have but ONE attribute which will be an integer (no decimals).  All the sprinklers either on or inside the LWPOLYLINE selected will be evaluated for the attribute value therein.  The values will be added and the total will be reported on the command line.  If you want to change anything about this let me know.  I'll give you a call call tomorrow morning.  Our morning starts about 3 or so hours later than yours does, so, you should be awake.  If I don't reach you this weekend, I'll talk to you on Monday.

Keep in touch
Bill DeShawn
http://my.sterling.net/~bdeshawn  

AutoCAD

All Answers


Answers by Expert:


Ask Experts

Volunteer


Bill DeShawn

Expertise

I can address all 2-D questions and some 3-D questions. I do programming in AutoLISP if it doesn`t involve solid modeling. I can also address menu customization issues and can help you find answers to questions I can`t answer by taking your question directly to Autodesk via their newsgroups.

Experience

I used to do electronic and mechanical design for a flat panel monitor manufacturer, and now I do architectural drafting for an architect. I did and do AutoLISP and menu customization and take pride in making my lisp routines to do the work exactly the way the client likes them done.

Publications
I had a routine published in CADENCE magazine (no longer in publication and taken over by CADALYST). Some of my routines are published on my website at http://my.sterling.net/~bdeshawn

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