Limiting spatial extent of geodatabase with Relationship Class

Discussion created by bhorat on Apr 4, 2012
Latest reply on Apr 10, 2012 by bhorat
I've got a geodatabase containing a Feature Dataset with Relationship Class. I have to generate a copy of this geodatabase were only a spatial subset of all data (data within one municipality) is included. How can I do this using Phyton and without loosing the Information of the Relationship Class? My Workaround now consists of using an Edit-Session in ArcMap, where I select and delete the Features outside the Boundary. I'd really like to do this with a script, as I have to do this for a lot of different municipalities. Looking forward for your help!