Dear Lisp Experts,
Currently i am doing planting annotation manually, which involves list area of polyline, multiply the area with density of plants in a sqm, then place leader and text with calculated qty and plant name near the polyline.
I don't know how to write lisp, if anyone have spare time, please help me a lisp to do the following:
At first instance of command in a drawing , lisp to invoke the user to select drawing unit either M or MM.
1. Select Plant name text exist in the Drawing.
2. Select polyline (Planting area) and list its area (If drawing unit is in MM divide the area by 1,000,000 to convert the area to Sq.m)
3. Ask for Density of Planting
4. Multiply entered density and listed area
5. Round off the Result to nearest full number.
6. Place leader with three points at user picked location and place single line text (with Current Text and Dimension style) with Calculated Qty followed by a space and then Selected plant name.
7. Continue with same name of planting for the other areas untill operation is cancelled.
Thanks in advance.
Manohar.