<p>(setq WL (getreal "\nEnter Length of Wall: "))</p><p>: replace with</p><p>(setq pt1 (getpoint "\Pick Start of wall "))</p><p>(setq pt2 (getpoint "\Pick End of wall "))</p><p>(setq WL (distance pt1 pt2))</p><p> </p><p>;(setq ps (getpoint "\Select Start Point of Panels: ")) not required as you can use pt1</p><p>[\code]</p><p> </p><p>A couple more suggestions what happens when wall is on an angle ? Just me but the way I have done these is to also get the angle of the line generally I use repeat rather than array and use copy.</p><p> </p><p>Also you need a remainder panel, there is different ideas on this one only or two small one at start and one at end.</p>