Create a Rectangle Using the CAD Command Line

Use the Create Rectangle command alias on the CAD Command Line to draw rectangular polylines using one of two modes: using two opposite corner points or two corner points on one side of the rectangle and then a third point on the opposite side.

Prerequisites:

To create a rectangle from the CAD Command Line:

  1. Press [F3] or click thei_command line icon on the Status Bar to open the CAD Command Line.
  2. Type rec or REC at the command prompt, and press [Enter].
  3. If needed, set the Layer, Color, and/or Line style below the command prompt. These properties persist the next time you run the command.
  4. Based on the Diagonal mode highlighted at the prompt, pick two corner points in a supported view (Plan, Sheet, or Cutting Plane), or enter two coordinates, or enter a keyword character to use another mode. The options are:
    • Diagonal - Enter D, then pick the rectangle's first corner point and the opposite corner point.
    • Three point - Enter T, and pick one corner, a second corner on the same side, and then a width. For the width, pick a point on the oppoosite side of the rectangle or enter a positive number to add the width to the right side of the line created from first corner to second corner; enter a negative number to add the width to the left side.

      Tip: This mode is useful when working with point clouds where you can use a limit box or cutting plane to specify a cross-section of an object (for example, a building facade) and then select three points to generate a rectangle within the view.

    The command remembers the last mode used the next time you run the command.

  5. To create another rectangle, press [Spacebar] to rerun the command.

Dependencies:

  • None.

Related topics

Using the CAD Command Line

Create a Rectangle (pane-based command)

Create a Rectangle from Three Points

CAD Command Line Quick Reference Guide