Select to view content in your preferred language

How can I remove a relationship class using arcpy?

1557
2
Jump to solution
10-11-2019 08:24 AM
by Anonymous User
Not applicable

Can't seem to find any documentation on how to accomplish this...

0 Kudos
1 Solution

Accepted Solutions
forestknutsen1
MVP Regular Contributor
arcpy.Delete_management (relationship)

Delete—Help | ArcGIS for Desktop 

Can you not just call delete?

View solution in original post

2 Replies
RobertBorchert
Honored Contributor

It took you longer to write this  message than it would have taken to simply go to the relationship class in Catalog or Pro and press the delete button.

However, I do not think you can. Just create relationships

0 Kudos
forestknutsen1
MVP Regular Contributor
arcpy.Delete_management (relationship)

Delete—Help | ArcGIS for Desktop 

Can you not just call delete?