AnsweredAssumed Answered

how to check Delete_succeeded  after running arcpy.Delete_management 

Question asked by jsn on Jan 21, 2020

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 

Outcomes