Select features by subtype

Discussion created by mustol on Nov 29, 2010
Latest reply on Jan 4, 2011 by ipmusto99
I have numerous geodatabase feature classes, each of which contains several subtypes, so in total there are approx 150 different subtypes. I need to create new separate feature classes for each of those subtypes, containing all of the features of that particular subtype (so that I can output them to a text file). I am quite new to scripting, but believe I could achieve this if I created a list of all those subtypes. However, I assume I should be able to do this without the need to create the list. I understand loops, but it's how to group the features according to subtype that I am struggling with - any tips would be much appreciated.