table not found error intersect_analysis

114
0
04-12-2020 08:12 AM
AngieMatthews
New Contributor

I have two feature datasets I wish to intersect using ArcPy; I used the following statement: 

arcpy.Intersect_analysis(['MMFSimplifyPt10_Angles', 'TriCounty_Junctions_Buffer'], 'MMFSimplifyPt10_PTurns', output_type='POINT')
(The env.workspace has been set to the correct file path)

I get the following error:

The table was not found. [MMFSimplifyPt10_PTurns]
Invalid Topology [Topoengine error.]
Failed to execute (Intersect).

The table that was "not found" is my output dataset that should be created by "intersect."  When I tried creating it before intersect the error was that it already exists.  When I use the intersect tool in ArcMap 10.7 on these feature classes it works fine and creates the output feature class, however it throws the error when using it in my python program.  

Tags (1)
0 Kudos
0 Replies