The Auto Dimension Scheme tool in SOLIDWORKS can automatically allpies dimensions and tolerances to the manufacturing features of a part.
The tool’s objective is to fully contrain, for size and location , the selected features using a set of reference or datum features.
You can find this tool at the DimXpertManager > Auto Dimension Scheme in SOLIDWORKS.