Creating polygons is a simple way to draw squares, equilateral triangles, octagons, and so on. Polygons are closed polylines with between 3 and 1,024 equal-length sides.
However, you should keep one thing in mind that rectangles are created by RECTANG command rather than POLYGON.
Variety of ways can be used for creating a polygon, for example, specify the center point or one of its edges to define a polygon after you have determined the edges of polygon. If you want to draw a polygon based on another object, the following methods are provided with some given qualifications:
Specifying the radius of inscribed circle if the distance between the center of the polygon and the endpoint of each side (inscribed) is known
Specifying the radius of circumscribed circle if the distance between the center of the polygon and the midpoint of each side (circumscribed) is known
Specifying the length of an edge and where you want to place it
To draw a polygon by vertex
Choose Draw > Polygon.
Type 5 to specify five sides for the polygon.
Specify the center of the polygon.
Specify the vertex of the polygon.
Command line POLYGON
The center (A) andvertex (B)
BOUNDARY: Creates a region or a polyline from an enclosed area
EXPLODE: Breaks a compound object into its component objects
POLYGON: Creates an equilateral closed polyline
RECTANG: Draws a rectangular polyline
System Variables Reference
FILLMODE: Specifies whether hatches (including solid-fill), two-dimensional solids, wide polylines, are filled in
HPBOUND: Controls the object type created by the BHATCH and BOUNDARY commands
PLINEWID: Stores the default polyline width
POLYSIDES: Sets the default number of sides for the POLYGON command
SNAPANG: Sets the snap and grid rotation angle for the current viewport