Autocad automatic extract coordinates. In that article, we used ENTSEL to select the entity.