My project involves finding the shortest path within a polyline shapefile, without using the network analyst (not an owner of a licence for the specific product).
IEIDHelper eidHelper = new EIDHelperClass(); eidHelper.GeometricNetwork = geometricNetwork; eidHelper.ReturnGeometries = true; eidHelper.ReturnFeatures = true; IEnumEIDInfo enumEIDinfo = eidHelper.CreateEnumEIDInfo(eids); enumEIDinfo.Reset(); IEIDInfo eidInfo = enumEIDinfo.Next(); while (eidInfo != null) { IFeatureClass featureClass = eidInfo.Feature.Class as IFeatureClass; IFeature feature = eidInfo.Feature; int featureClassID = featureClass.FeatureClassID; ... eidInfo = enumEIDinfo.Next(); }