Update カーソル

投稿日:2016/9/1 (木) 更新日:

Dim pFeatureCursor As IFeatureCursor
Set pFeatureCursor = pFeatureClass.Update(pQueryFilter, False)  'QueryFilter:検索条件
 
Dim pFeature As IFeature
Set pFeature = pFeatureCursor.NextFeature
 
Do Until pFeature Is Nothing
     
    pFeature.Value(2) = "xxx"
     
    pFeatureCursor.UpdateFeature pFeature
     
    Set pFeature = pFeatureCursor.NextFeature
     
Loop

関連記事

-プログラミング, ArcGIS
-, ,

Copyright© WINGFIELD since1981 , 2018 All Rights Reserved.