Create a rectangular feature

The Rectangle tool Rectangle creates planar rectangular or square features using the pointer or typed values. This tool is available on the Mapview toolbar with polygon feature layers.

When you use this tool, consider the following:

  • Vertices for 3D z-aware features are assigned z-values based on your current elevation settings.
  • The feature is automatically finished when its location, direction, and dimensions are fully defined.
  • Click the Horizontal / Grid Aligned button Horizontal/Grid Aligned to constrain a rectangle orthogonal to the map's coordinates system or the grid for editing if it is turned on. This setting is available on the construction toolbar and on the context menu when you right-click the map.

Note:

If the active map is set to a geographic coordinate system, your specified distances and directions are measured using the North Azimuth (0 degrees) system and may produce unexpected alignment or accuracy errors.

To avoid these types of errors, the best practice is to assign the active map a projected coordinate system that matches the coordinate system of the layer or layers you are editing.

Draw or type the length and width

By default, the Rectangle tool Rectangle creates a rectangle with three pointer clicks. After clicking two locations to specify a corner and a direction, you can right-click the map and type length and width values.

To draw a rectangle with the pointer, complete the following steps:

  1. Add the data and configure the editing settings.

    Confirm that the feature layer you are editing is editable, the coordinate system assigned to the active map is suitable for the type of edits you're performing, and snapping is configured to help you work efficiently and accurately.

  2. On the Map tab, in the Features group, click Edit Create Features.
  3. In Contents, click a polygon layer.
  4. Click the Rectangle tool Rectangle on the Mapview toolbar.
  5. Click the map to create the first corner.

    To type a coordinate location, right-click the map and click Absolute X,Y,Z Move To.

  6. Move the pointer and click the map to specify the direction of the feature.

    To type a direction value, right-click the map and click Direction Direction.

  7. Move the pointer to specify the length and width, and click the map.

    To type a coordinate location, right-click the map and click Absolute X,Y,Z Move To.

    To type values for the length or the width, right-click and click the corresponding command described in the following table:

    ButtonDescription

    Square New Rectangle

    Click and turn this setting on to constrain the feature to a square. A value typed for the length or width is applied to the remaining side. This button is also available on the construction toolbar.

    Length Height

    Type the length value. If this dimension fully defines the feature, the feature is automatically finished.

    Width Width

    Type the width value. If this dimension fully defines the feature, the feature is automatically finished.

  8. On the Mapview toolbar, click Save All Edits.

    Optionally, on the ribbon, in the Manage Edits group, click Save All Edits Save Edits.

    Alternatively, on the ribbon, in the Manage Edits group, click Save All Edits Save Edits.

  9. On the Edit tab, in the Close group, click Close Edit Mode Close.

    Optionally, continue editing until you're ready to close Editing mode.

    Alternatively, continue editing until you're ready to close Editing mode.

    Edit Mode is enabled and the Edit tab appears on the ribbon.

Type the direction and size

The Direction/Size dialog box Direction/Size creates a rectangle from values you type for direction, length, and width. To change direction or distance units, click a parameter drop-down arrow.

To create a rectangle with typed values for direction and size, complete the following steps:

  1. Add the data and configure the editing settings.

    Confirm that the feature layer you are editing is editable, the coordinate system assigned to the active map is suitable for the type of edits you're performing, and snapping is configured to help you work efficiently and accurately.

  2. On the Map tab, in the Features group, click Edit Create Features.
  3. In Contents, click a polygon layer.
  4. Click the Rectangle tool Rectangle on the Mapview toolbar.
  5. Click the map to create the first corner.

    To type a coordinate location, right-click the map and click Absolute X,Y,Z Move To.

  6. Right-click, click Direction/Size Direction/Size, select the units, type the direction and distance values, and press Enter.

    Direction/Size

  7. On the Mapview toolbar, click Save All Edits.

    Optionally, on the ribbon, in the Manage Edits group, click Save All Edits Save Edits.

    Alternatively, on the ribbon, in the Manage Edits group, click Save All Edits Save Edits.

  8. On the Edit tab, in the Close group, click Close Edit Mode Close.

    Optionally, continue editing until you're ready to close Editing mode.

    Alternatively, continue editing until you're ready to close Editing mode.

    Edit Mode is enabled and the Edit tab appears on the ribbon.

Keyboard shortcuts

The keyboard shortcuts described in the following table provide an alternative way to run commands for this tool:

Keyboard shortcutActionComment

Tab

Turn Horizontal/Grid Aligned Horizontal/Grid Aligned on or off.

When turned on, constrains the feature vertical or horizontal at 90-degree angles.

A

Specify a direction Direction.

Open the Direction dialog box.

L

Specify a length Height.

Open the Length dialog box.

W

Specify a width Width.

Open the Width dialog box.

F6

Specify absolute X,Y,Z Move To.

Open the Absolute X,Y,Z dialog box.

Shift and drag

Make the shape a square.

Constrain the shape to a square. Create the first point of the rectangle, press the keyboard shortcut, and drag.

Shift

Turn Square on or off.

When turned on, constrains the shape to a square.

Keyboard shortcuts for the Rectangle construction tool