Select to view content in your preferred language

Clip multiple feature class through model builder

3356
2
04-30-2011 11:02 PM
ManishAdawadkar
Occasional Contributor
Hi,
I have a gdb with multiple feature datasets ( each having various feature classes). I am trying to clip a file based on all these feature classes using model builder and trying to save the output class in the same order the way my initial gdb is created. In other words go one by one to each feature datasets check if it has any feature class then clip it and save it in a new database in the same order it picked up the feature classes. Does anyone have an idea how to do it in model builder. What I have done is just the basic clipping but now i have to batch it over the datasets so that it checks if there is any feature class then clip it or else go to next dataset check it and go upto last dataset and do clipping if found. Please suggest how to go it on model builder as I dont have much experience with programming.

Thanks
0 Kudos
2 Replies
sabahawni
Emerging Contributor
By arcToolbox right click then New toolbox then from a new toolbox Right click and new - model and from analysis tools - extract tag the clip to model window then double click in clip and input feature from geodatabase then specify the feature output and right click to clip and Run
0 Kudos
ManishAdawadkar
Occasional Contributor
thanks, but that thing i already did...i  need a solution for when the clip feature is mutiple while i/p feature remains the same..considering that these variable clip features are not in the same feature dataset...these are in different dataset...so i would like to go to each dataset and pick the feature class and in the clipping use if as a clipping feature but i/p is always same...
0 Kudos