how to check Delete_succeeded after running arcpy.Delete_management

218
0
01-21-2020 06:43 AM
JoseSanchez
Occasional Contributor III

Good morning,

How can I check the Delete_succeeded  value after running a  arcpy.Delete_management  in Python?

I see on the Python code generated from a  model:

# Local variables:

Delete_succeeded = "false"

# Process: Delete
arcpy.Delete_management(  Relationship Class , "RelationshipClass")

Does it mean that after the arcpy.Delete_management, I need to check Delete_succeeded ?

Thanks 

0 Kudos
0 Replies