# RECTANG Command [GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [R](%28R%29.md) **Function Description:** > Create a rectangular polyline **Menu:** > Draw\>Rectangle **Command Entry:** > RECTANG **Command Prompt:** > Specify first corner point or \[Chamfer/Elevation/Fillet/Thickness/Width\]: > > **First Corner Point** > > Specify a corner point of the rectangle. > > Specify other corner point or \[Area/Dimensions/Rotation\]: Specify a point or enter an option. > > Create a rectangle using the specified points as diagonally opposite corners. > > **Chamfer** > > Set the chamfer distances for the rectangle. > > \[Defaults\]Specify first chamfer distance for rectangles \<0.0000\> : Specify a distance or press ENTER. > > Specify second chamfer distance for rectangles \<5.0000\>: Specify a distance or press ENTER. > > The value become the current chamfer distances for subsequent RECTANG Commands. > > **Elevation** > > Specify the elevation of the rectangle. > > Specify the elevation for rectangles: Specify a distance or press ENTER. > > The value becomes the current elevation for subsequent RECTANG Commands. > > **Fillet** > > Specify the fillet radius of the rectangle. > > Specify fillet radius for rectangles \<Current\> : Specify a distance or press ENTER. > > The value becomes the current fillet radius for subsequent RECTANG Commands. > > **Thickness** > > Specify the thickness of the rectangle. > > Specify thickness for rectangles: Specify a distance or press ENTER. > > The value becomes the current thickness for subsequent RECTANG Commands. > > **Width** > > Specify the polyline width of the rectangle to be drawn. > > \[Default pline width\] Rectangle width \<Current\> : Specify a distance or press ENTER. > > The value becomes the current polyline width for subsequent RECTANG Commands. ## Other versions with matching text [GstarCAD 2011](../../../2011/Commands/R/RECTANG%20Command--3cf3892e9cbc.md)