Iteration with multiple commands on single features in a layer

Discussion created by zanegt on Feb 3, 2011
Latest reply on Feb 8, 2011 by zanegt
I am using a search cursor to step though features in a layer in oreder to run a series of commands on them. I need to run these calculations piecewise (unfortunatly) and With my for loop it runs each line of the operation for every point then proceeds to the next step as oppossed to running each step on a single selection then advancing. I.E. I wan to select a polygon, find the point in the center of the polygon, make a buffer from that point, then select all the polygons that are within the buffer. I know my commands for each of these steps works I just am having trouble making python step through commands frist then features. I hope this is all clear enough. and Thanks in advance for any help.