AnsweredAssumed Answered

Never ending While   Cant figure out my error?

Question asked by armein01 on Mar 11, 2014
Latest reply on Mar 26, 2014 by armein01
for row in wtlndRow:                  if row.WtlndUnitID is None:             totalArea = 0             wtlndUnitID += 1             adjWtlnd = arcpy.MakeFeatureLayer_management(wtlnd4Units, "in_memory\\adjWtlnd")             arcpy.SelectLayerByLocation_management(adjWtlnd,"SHARE_A_LINE_SEGMENT_WITH",row.shape, "", "NEW_SELECTION")             numPolys = 1             count = 0              while numPolys != count:                 numPolys = arcpy.GetCount_management(adjWtlnd)                 arcpy.SelectLayerByLocation_management(adjWtlnd,"SHARE_A_LINE_SEGMENT_WITH", wtlnd4Units,"",  "ADD_TO_SELECTION")                 count = arcpy.GetCount_management(adjWtlnd)



Cant figure out why this wont evaluate to true.
Thanks!
Alicia

Outcomes