public void SetDimValue(SolidworksDocument workingDocument, string name, string configuration, double value)
        {
            var dim = workingDocument.GetSolidworksDimension(name);

            if (dim == null)
            {
                LogManager.Add($"Could not find dimension {name} in {workingDocument.Name}");
                return;
            }

            double convertedValue;

            switch (dim.Type)
            {
            case DimensionTypes.Linear:
                convertedValue = UnitManager.UnitsToSolidworks(value);
                break;

            case DimensionTypes.Angular:
                convertedValue = UnitManager.ConvertDegrees(value);
                break;

            case DimensionTypes.Integer:
            default:
                convertedValue = value;
                break;
            }

            var success = dim.SetValue(convertedValue, string.IsNullOrEmpty(configuration) ? ConfigurationOptions.ThisConfiguration
                                                                                           : ConfigurationOptions.SpecifyConfiguration,
                                       configuration);

            if (!success)
            {
                LogManager.Add($"Could not set dim {name} in {workingDocument.Name}");
            }
        }