In this section, we apply horizontal and vertical constraints to constrain the shape to the X,Y, Z coordinates 0, 0, 0. We then add dimensions, create named parameters and use equations.
Constraining the rectangle centered about 0, 0, 0 makes it easy to constrain (locate) the part within an assembly. Because the Origin Work Planes pass through the middle of the part it is easy to use these planes to align the components in an assembly. Constraining a sketch to the origin also makes the sketch behavior predictable when you add driving dimensions. It also applies two constraints to the sketch by defining the Cartesian XY location.
Adding relationships between dimensions reduces the amount of edits, especially in complex parts. You can also add mathematical formulas to dimensions. A link is provided in the exercise to the operators that can be used in equations.
Click the Autodesk Inventor icon to start a new part. Select New to open the New File dialog box.
. If your sketch settings match the recommendations listed previously, you see an X axis, a Y axis, and a point at 0,0,0.
Click 
. Select Rectangle Two Point from the drop-down menu, or select Two Point Rectangle from the marking menu. Sketch a rectangle approximately centered about 0,0. 
Apply a Horizontal constraint between the origin and the midpoint of a vertical line. Hover your cursor near the midpoint of the vertical line to display and select the midpoint.
Apply a Vertical constraint between the origin and the midpoint of a horizontal line. Hover your cursor near the midpoint of the horizontal line to display and select the midpoint. If the logic of these picks seems confusing, imagine the axis between the two points you are picking.

On the ribbon, click 
, or select General Dimension from the marking menu.The vertical dimension displays as fx:49. The display means that a formula is in effect for the vertical dimension and the current value is 49.
You have created another equation!

