1. A method for generating edge detection commands of an object using a computer, the computer providing a display interface, the display interface comprising an image area and a data exchange format (DXF) display area, the method comprising: loading a DXF image of the object and displaying the DXF image on the DXF display area; selecting a measurement tool to measure the DXF image and selecting a DXF feature on the DXF image; obtaining a size of the selected DXF feature and a size of the image area; determining whether the size of the selected DXF feature is larger than the size of the image area, upon the condition that the measurement tool is appropriate to measure the selected DXF feature; obtaining location information of the selected DXF feature in the DXF display area; generating an edge detection command of the selected DXF feature according to the measurement tool, upon the condition that the size of the selected DXF feature is not larger than the size of the image area; or reselecting at least two measurement tools, and generating an edge detection command corresponding to each of the reselected measurement tools, upon the condition that the size of the selected DXF feature is larger than the size of the image area.