Some rules for what are:
1. Greatest distances should be placed farthest from the object
2.dimensions should be attached to the view that best shows the contour of the feature
3. Avoid crossing dimension or extension lines
4. Avoid dimensioning to hidden lines