Just checking, if you type in BOUNDARY and select inside the circle it make a polyline that is circle size. Also, if you invoke PEDIT and select the item, it will prompt to make it a pline. If you have to have it in code, look at the objects after you convert them and then define them in code this way.