If you could help me, do I require;
1. a rectangular polyline selecting 2 opposite points
2. exploit the polyline to be lines
3.- ask variables SR1 and SR2 to bring them a value, and if possible to take the last entered value.
4. apply the command EDGESURF selecting the first line of the left, then the right line, then the top line and the bottom line finally, end the command
5. delete the lines that were to explode the polyline.
I hope I was clear, I give you an example. Regards.