GstarCAD 2027 · Command Reference
Commands > R Command > RECTANG
Function Description:
This command is used to create a rectangular polyine.
Users can use this command to specify the rectangular parameters (length, width, and rotated angle) and control corner types (fillet, chamfer or right angle).
Command Access:
Icon:
Menu: Draw > Rectangle
Ribbon: Home > Draw > Rectangle
Toolbar: Draw > Rectangle
Command: RECTANG
Alias: REC
Command Prompts:
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width/Oblique]:
Specifies a corner point of the rectangle.
- Area:
Creates a rectangle by the area and a length or a width. It can create chamfers or fillets on the rectangle by setting the
Chamfer or Fillet option.
- Dimensions:
Creates a rectangle by length and width.
- Rotation:
Creates a rectangle at a specified rotation angle.

Specifies the chamfer distances for the rectangle.
Specifies the Z value for the rectangle. The default is 0.0.
Specifies the fillet radius for the rectangle.
Specifies the thickness of the rectangle.
Specifies the polyline width for the rectangle.

Related References:
Related Tasks:
Article ID: 3499
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/rectang-command-gstarcad-2027-3499.html