Fixed GetFeatureByTypeName returning feature when it should return null.

This commit is contained in:
AJ
2019-11-21 14:33:49 -05:00
parent f0baecbfba
commit df7c3061ba

View File

@@ -20,7 +20,7 @@ namespace ExportDXF
feature = feature.GetNextFeature() as Feature; feature = feature.GetNextFeature() as Feature;
} }
return feature; return null;
} }
public static List<Feature> GetAllFeaturesByTypeName(this ModelDoc2 model, string featureName) public static List<Feature> GetAllFeaturesByTypeName(this ModelDoc2 model, string featureName)