Traversing Geometric network

Discussion created by detroit on Feb 13, 2017
Latest reply on Feb 20, 2017 by detroit

Hello guys and gals


I am trying to traverse geometric network and getting a single property out of every feature on the way. My starting point is certain IFeature which i cast into ISimpleJunctionFeature and use it in IForwardStarGEN.FindAdjacent which  provides me only with number of adjacent elements. I then use IForwardStarGEN.QueryAdjacentEdge etc. and i get

which in turn getse me IFeature, the property i needed class id etc. But how can i continue the path down the geometric network? I assume i need a recursion, but I seem to be stuck and there seems to be no examples on the web whatsoever, plus the documentation is a bit shoddy.


Thank you for any hints


Best regards,