public string GetDimValue(SolidworksDocument workingDocument, string name, string configuration)
        {
            var dim = workingDocument.GetSolidworksDimension(name);

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

            double value = dim.GetValue(string.IsNullOrEmpty(configuration) ? ConfigurationOptions.ThisConfiguration
                                                                            : ConfigurationOptions.SpecifyConfiguration,
                                        configuration);
            double convertedValue;

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

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

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

            return(convertedValue.ToString());
        }