AnsweredAssumed Answered

Rename feature classes iteratively through multiple feature datasets

Question asked by zygote on Dec 4, 2014
Latest reply on Dec 5, 2014 by bixb0012

I have a file geodatabase (FGDB) with many feature datasets (FDS) whose names I want to use to rename their constituent feature classes in a prefix-like manner, for example:



The first FDS shows how its name is used as the prefix for all the constituent features, whereas the second FDS has feature classes that need to be renamed. You'll notice there are 3 numerals appended to each feature class that need to be trimmed off as well.


I have found several limitations with arcpy in ArcGIS 10.1 (SP1) in that tools like ListFeatureClasses and ListDatasets don't like iterating through multiple FDSs in the same FGDB. I am wondering if the solution is in the use of Iterators in the ModelBuilder environment? Has anyone out there had any similar experiences and success in processing a large collection of FDSs?


Thanks in advance