I compiled a python script (with the help of the internet) to split polygons by attribute based area percentages.
I know my script is definitely not the most elegant one, but basically it does a great job.
Big but... I am facing a problem since there will be a serious error shutting down ArcMap (tried 10.5 and 10.6 on several systems) any time I run the script. I tried to split the very big feature class in blocks of 500 features to be split. I additionally removed null geometries and fixed geometry (self intersections). Now some blocks are processed well, others not.
What else should I try to avoid/debug this annoying error?
(Sorry, the script might be way too long for a quick overview.)
Thanks in advance!