AnsweredAssumed Answered

ModelBuilder union process won't work in Python

Question asked by bonfire98a on Dec 9, 2019
Latest reply on Dec 10, 2019 by jborgion

I have a series of ModelBuilder models which I am in the process of converting into Python scripts, and in one script I am running into trouble with the union of two large polygon feature classes.  The model version has always been able to successfully perform the union; however, when I attempt the same process in Python, I always run into topoengine errors.  


I even used a cursor to break down the union process and use smaller subsets of one of the large FCs, and this initially worked through a few iterations before it threw another topoengine error.  And even had it run successfully, it would have taken far longer than the MB process (several hours as opposed to less than one hour).


Is there a way for me to edit my script so that the union process will work (and work as efficiently) as it does in MB?  Thanks in advance for your help.