An easy way to fix this is to move the actual part. Choose Insert>Features>Move/Copy.
You will then select the part as your “body to move”, and choose “translate/rotate” at the bottom of your window. Which will bring up a Constraints option. Click on constraints and you can then constrain, for this example, the top face and the top plane.
Comments
If you don't want to move the part because it is part of an assembly, you can create your stock from a sketch and then move the origin from your part setup.
Double click on your Part Setup within your operations tree and the choose the Origin tab. There are quite a few options within this tab that you can choose from:
Please sign in to leave a comment.