# Dimension

Add horizontal, vertical, shortest distance, angular, diametrical, arc length, or radial dimensions to sketch geometry and between sketch geometry and planes. You are able to specify dimensions as driven (reference) or driving.

This functionality is available on Onshape's browser, iOS, and Android platforms.

Shortcut: d

In the Sketch toolbar:

Add horizontal, vertical, shortest distance, angular, diametrical, arc length, or radial dimensions to sketch geometry and between sketch geometry and planes. You are able to specify dimensions as driven (reference) or driving.

You have the ability to use the Measure tool to measure anything in the graphics area.

Some tools allow you to dimension as you sketch.

You are also able to use the Show dimensions command in the context menu (RMB) of a sketch to view existing dimensions.

- Click or press the D key.
- Select the entity (or entities between which) to dimension and the location of the dimension.
The dialog opens on the placement of the dimension.

- Enter a value and press Enter to accept the value, or use Shift-Enter to accept the value and keep the dialog open.

Note that you can enter negative values for dimensions (length, linear distance, and angles), thereby flipping the direction of the entity.

The image below illustrates a positive dimension, notice the position of the rectangle in relation to the horizontal line:

The following image illustrates a negative dimension value in the dialog:

When the dialog is accepted, the rectangle flips direction based on the negative dimension value:

You are able to use expressions and trigonometric functions in numeric fields in Part Studios.

Delete a dimension by selecting it and pressing the Delete key, or select it and select Delete from the context menu.

To edit a placed dimension, double-click the value to activate the field, then enter the new value. Press Enter to accept the change.

- Click .
- Click corner points diagonal to each other.
- Drag to visualize the dimension.
- Click again to access the numeric value field.
- Type value and press Enter.

- Click .
- Click the edge of the circle.
- Drag cursor into or away from the circle.
- Click to activate numeric value field.
- Type value and press Enter.

- Click .
- Click each line.
- Move cursor into angle.
- Click to activate numeric value field.
- Type value and press Enter.

You are also able to drag the label to the quadrant for which you want to define the angle:

### Direct distance

- Click .
- Click each endpoint of the lines.
- Move cursor away at an angle to get shortest distance between the points.

### Linear distance

- Click .
- Click each endpoint of the lines.
- Move cursor straight up for linear distance.

- Click .
- Click the edge of the arc.
- Move cursor into or away from arc.
- Click to enter numeric value field.
- Type value and press Enter.

- Click .
- Click each arc endpoint.
- Move cursor to arc line.
- When arc line is highlighted, click to activate numeric value field.
- Type value and press Enter.

Create a centerline dimension between a circle, point, or non-construction line to a construction line; for instance, to dimension a part for a revolve operation. Start a distance dimension between one of these sketch entities and then move the mouse to the opposite side of the construction line. Moving the mouse across the construction line toggles the state between distance and centerline dimensions:

- Start the dimension between the entity and the construction line, resulting in a distance dimension:

- Move the mouse to the opposite side of the construction line to toggle the state to a centerline dimension.
- Enter the value and press Enter.

Driven dimensions are useful for maintaining design intent, such as keeping a clearance or wall thickness above a certain value.

- Dimensions are driving by default. Right-click on a dimension value to select "Driving/Driven" from the context menu.
- Driving dimensions appear black and can be edited.
- Driven dimensions appear light gray and cannot be edited (Toggle it to 'driving' and then edit, if necessary.)

- When a dimension added to a sketch over-defines the sketch, the dimension is automatically made 'driven'.
- You are able to add driven dimensions anywhere a driving dimension can be added.
- Driven dimensions reflect the value of the implied dimension; it does not change geometry.
- When a dimension is switched from driven to driving, it changes the geometry; if changing a driven dimension to driving causes the sketch to be over-constrained, red indicators appear as usual.

- Tap Dimension tool.
- Select the entity (or entities) between which to dimension, and the location of the dimension.
The dialog opens on the placement of the dimension.

- Enter a value and select the checkmark to accept the value.

- Tap to select a corner point.
- Tap to select the opposite corner point.
- The current value appears, tap on it to open the number pad.
- Use number pad to enter a dimension.

- Tap to select a vertical or horizontal line.
- The current value of the length or height appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

- Tap to select the edge of circle.
- The current value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

- Tap to select a line.
- Tap to select another line.
- The current value of the angle between the two lines appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

### Linear distance / direct distance

- Tap to select a point.
- Tap to select another point.
- The current value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

- Tap the edge of an arc to select it.
- The current value of the radius appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

### Arc length

- Tap to select both points of an arc.
- Tap on the curve of the arc to select it.
- The arc length value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

### Spline curve length

- Tap a spline to select it.
- The curve length value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

- Tap to select a point.
- Tap to select a plane.
- The current value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

Create a centerline dimension between a circle, point, or non-construction line to a construction line; for instance, to dimension a part for a revolve operation.

- Tap to select the point to dimension.
- Tap to select the construction line to create as the centerline.
A dimension is set between the point and the construction line.

- Touch and drag the dimension across the construction line.
Once the dimension crosses the construction line, the construction line becomes the centerline and the dimension adjusts accordingly.

- Driven dimensions are useful for maintaining design intent, such as keeping a clearance or wall thickness above a certain value.
- Dimensions are driving by default. Tap to select a dimension, then two-finger tap to bring up the context menu. In the context menu you can tap to
**Toggle Driven/Driving**dimensions. - Driving dimensions appear black and can be edited.
- Driven dimensions appear light gray and are not able to be edited (toggle a driven dimension to driving and then edit, if necessary).

- When a dimension added to a sketch over-defines the sketch, the dimension is automatically made 'driven'.
- You are able to add driven dimensions anywhere a driving dimension can be added.
- Driven dimensions reflect the value of the implied dimensions; it does not change geometry.
- When a dimension is switched from driven to driving, it changes the geometry; if changing a driven dimension to driving causes the sketch to be over-constrained, red indicators appear as usual.

Onshape allows users to enter negative values for some dimensions but not all. See below for which dimensions accept negative values.

### iOS allows negative values for:

- Distance dimension
- Angle dimension
- Line length

### iOS does not allow negative values for:

- Arc dimension
- Spline dimension
- Radius or Diameter dimension

- Tap Dimension tool.
- Select the entity (or entities) between which to dimension, and the location of the dimension.
The dialog opens on the placement of the dimension.

- Enter a value and select the checkmark to accept the value.

- Tap to select a corner point.
- Tap to select the opposite corner point.
- The current value appears, tap on it to open the number pad.
- Use number pad to enter a dimension.

- Tap to select a vertical or horizontal line.
- The current value of the length or height appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

- Tap to select the edge of circle.
- The current value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

- Tap to select a line.
- Tap to select another line.
- The current value of the angle between the two lines appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

### Linear distance / direct distance

- Tap to select a point.
- Tap to select another point.
- The current value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

- Tap the edge of an arc to select it.
- The current value of the radius appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

### Arc length

- Tap to select both points of an arc.
- Tap on the curve of the arc to select it.
- The arc length value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

### Spline curve length

- Tap a spline to select it.
- The curve length value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

- Tap to select a point.
- Tap to select a plane.
- The current value appears, tap on it to open the number pad.
- Use the number pad to enter a dimension.

Create a centerline dimension between a circle, point, or non-construction line to a construction line; for instance, to dimension a part for a revolve operation.

- Tap to select the point to dimension.
- Tap to select the construction line to create as the centerline.
A dimension is set between the point and the construction line.

- Touch and drag the dimension across the construction line.
Once the dimension crosses the construction line, the construction line becomes the centerline and the dimension adjusts accordingly.

- Driven dimensions are useful for maintaining design intent, such as keeping a clearance or wall thickness above a certain value.
- Dimensions are driving by default. Double tap a dimension to open the Number pad, then tap the
**Driven/Driving**button to switch the dimension type. The button says what type of dimension you have selected. Tap the button to switch to the opposite type of dimension. - Driving dimensions appear black and can be edited.
- Driven dimensions appear light gray and are able to be edited (toggle a driven dimension to driving and then edit, if necessary).

- When a dimension added to a sketch over-defines the sketch, the dimension is automatically made 'driven'.
- You are able to add driven dimensions anywhere a driving dimension can be added.
- Driven dimensions reflect the value of the implied dimensions; it does not change geometry.
- When a dimension is switched from driven to driving, it changes the geometry; if changing a driven dimension to driving causes the sketch to be over-constrained, red indicators appear as usual.

Onshape allows users to enter negative values for some dimensions but not all. See below for which dimensions accept negative values.

### Android allows negative values for:

- Distance dimension
- Angle dimension
- Line length
- Spline dimension

### Android does not allow negative values for:

- Arc dimension
- Radius or Diameter dimension