Fixed GetFeatureByTypeName returning feature when it should return null.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user