Run a calculation when clicking on something

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all, this is my first post here and I have a question. I am wondering if there is a way to set up autocad to run a calculation when I click on a closed polygon. For instance, I do irrigation design in autocad without using civil 3d or any other add ons. Whenever I draw an area that will be drip irrigation its always a closed polygon. I would like to be able to click on the polygon and have autocad generate the gallons per minute based on input I give autocad on emitter spacing, row spacing, area of the polygon, and water volume of each emitter. Currently I have an excel spreadsheet set up that I change the values of those fields and just type in the square footage of the polygon in autocad. But if I could come up with something in autocad it would make things much faster. Thanks for any input!