/// <summary>
 /// Gets the <see cref="ModelFeature"/> of the item in the feature tree based on its name
 /// </summary>
 /// <param name="featureName">Name of the feature</param>
 /// <returns>The <see cref="ModelFeature"/> for the named feature</returns>
 public void GetFeatureByName(string featureName, Action <ModelFeature> action)
 {
     // Wrap any error
     SolidDnaErrors.Wrap(() =>
     {
         // Create feature
         using (var model = new ModelFeature((Feature)mBaseObject.FeatureByName(featureName)))
         {
             // Run action
             action(model);
         }
     },
                         SolidDnaErrorTypeCode.SolidWorksModel,
                         SolidDnaErrorCode.SolidWorksModelPartGetFeatureByNameError,
                         Localization.GetString(nameof(SolidDnaErrorCode.SolidWorksModelPartGetFeatureByNameError)));
 }