Check each row geometry is inside a perimeter with Python - how?

Discussion created by highball2006 on Dec 14, 2012
Latest reply on Dec 17, 2012 by msayler
Hello Everyone

Software version: 9.3.1 / python 2.5

Problem: I have a polygon feature class "FC1" with 1000 records and wish to find the ones laying outside of a given perimeter (in the form of 1 record in another feature class "PERI1").

I know about the gp.erase option but I wish to report to the user that OBJECTID x lies outside PERI1 - so I thought I could loop through FC1 and compare each row geometry withe the PERI1 feature class and report back true/false it is contained or not.

Can anyone point me in the right direction? Currently struggling to find an example. Much appreciated.