Search for the desired Feature Based on the query conditions, select the feature, and highlight it.
Favorites
New article:. NET technology C # QA summary | old article: Get layers by layer name in arcengine
Axglobecontrol1.globe. globedisplay. Scene. clearselection ();
Iqueryfilter queryfilter = New Queryfilterclass ();
Queryfilter. whereclause = " Objectid = 3 " ;
Ifeaturelayer pfeaturelayer = Arcglobe. arcgolbetools. getlayer (axglobecontrol1.globe, " SDE. Sde. Sewage Treatment Plant _ Project " );
Ifeaturecursor featurecursor = Pfeaturelayer. Search (queryfilter, True );
Ifeature feature = Featurecursor. nextfeature ();
Ipoint thispoint = Feature. Shape As Ipoint;
Arcglobe. arcgolbetools. zoomtopoint (axglobecontrol1.globe, thispoint. X, thispoint. y, 3 );
axglobecontrol1.globe. globedisplay. Scene. selectfeature (pfeaturelayer, feature);