Up until recently this was also a common question for AutoCAD users as well.
There are a number of scripts that offer at least a partial solution, many of the AutoLISP programs also work in progeCAD:
You might need to tweak one of them a bit to get what you need, but it is a start.
progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.