ModelBuilder - Geodatabase before Iteration

343
4
01-24-2018 01:32 AM
FelixBuchinger
New Contributor II

Hallo,

i try to write a model where different Feature Classes are cliped by a defined clip feature with iterator.

The Model is working so far, but is there a possibility to create a Geodatabase within the model where the tool can save all the cliped feature classes in? In the Moment there is a new Geodatabase created with every new iteration, so the created cliped feature class out of the foregoing iteration is erased.

0 Kudos
4 Replies
Juan_ManuelAngel
New Contributor III

Hello !!, Try to add a precondition when you create the Geodatabase then iterate the feature Classes.

A quick tour of using preconditions—Help | ArcGIS for Desktop 

0 Kudos
FelixBuchinger
New Contributor II

Thank you for the answer. I tried the simple precondition thing, but then the creation of the geodatabase is also repeated...

its not done once and then the iteration is started. it startes every time when a new feature class is iterated

0 Kudos
Juan_ManuelAngel
New Contributor III

Can you share a screenshot of the model with the precondition?

0 Kudos
FelixBuchinger
New Contributor II

Sure her we go. Thanks you

0 Kudos