AnsweredAssumed Answered

Converting a Feature Into a Layer

Question asked by bruce.nielsen on Jun 21, 2012
Latest reply on Jun 21, 2012 by jtkknelson
If I am looping through a series of features using a featurecursor, how can I create a temporary layer of each feature? I'm planning on using the resulting layer as input to a geoprocessing tool (clip).
Dim pFCursor as IFeatureCursor
Dim pFeature as IFeature = pFCursor.NextFeature
Do Until pFeature is Nothing
    Need to create ILayer object from pFeature here
    pFeature = pFCursor.NextFeature
Loop

Outcomes