From df7c3061ba64deb3497db6e99ea4f8b45a72ed2c Mon Sep 17 00:00:00 2001 From: AJ Date: Thu, 21 Nov 2019 14:33:49 -0500 Subject: [PATCH] Fixed GetFeatureByTypeName returning feature when it should return null. --- ExportDXF/SolidWorksExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExportDXF/SolidWorksExtensions.cs b/ExportDXF/SolidWorksExtensions.cs index 7d7fbee..b2995fd 100644 --- a/ExportDXF/SolidWorksExtensions.cs +++ b/ExportDXF/SolidWorksExtensions.cs @@ -20,7 +20,7 @@ namespace ExportDXF feature = feature.GetNextFeature() as Feature; } - return feature; + return null; } public static List GetAllFeaturesByTypeName(this ModelDoc2 model, string featureName)