narutoluffy01

ArcObjects unable to get geometry

Discussion created by narutoluffy01 on Oct 29, 2012
Hi...
while working with Complex Edge Feature

pCEF = (IComplexEdgeFeature)pFeature;
pEnumEID = pNetEls.GetEIDs(pFeature.Class.ObjectClassID, pFeature.OID, esriElementType.esriETEdge);
while (pEnumEID != null)
{
if (lEID == 0)
{
    break;
}
pGeom = pCEF.get_GeometryForEID((int)lEID);
}

its throwing error in line pCEF.get_GeometryForEID....unable to retrieve geometry....


how to solve this...

Outcomes