Recalculation of the sizes in detail model on average value

The macro which could carry out recalculation of the sizes in model of the detail, having admissions on average value with possibility of a preliminary choice of the sizes for recalculation is necessary. And that the configuration with counted sizes at the end was given. Whether there is any ready decision for SolidWorks 2013 at present?

SolidworksParts And Features