Select to view content in your preferred language

Update Data That Belongs to Topology

760
3
Jump to solution
01-31-2024 09:48 AM
Labels (2)
JoshBillings
Frequent Contributor

Hello,

I am looking to update data of a feature class that belongs to a topology. I am using a basic Truncate and Append Python script to do this. I have tried TruncateTable, DeleteRows, and DeleteFeatures to delete features but I get the error: ERROR 001395: Operation not supported on a feature class in a controller dataset.

Is there a way to do this?

Thanks,

Josh

 

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
MarlonAmaya
Esri Contributor

Hi @JoshBillings ,

Truncate operation is not allowed on controller sets. 

Since the delete rows does not mention the same constraint as Truncate, have you tried performing the delete process via GP tool? Wondering if this works in general.

Marlon

View solution in original post

0 Kudos
3 Replies
MarlonAmaya
Esri Contributor

Hi @JoshBillings ,

Truncate operation is not allowed on controller sets. 

Since the delete rows does not mention the same constraint as Truncate, have you tried performing the delete process via GP tool? Wondering if this works in general.

Marlon

0 Kudos
Rjl
by
New Contributor

I can confirm that using the Delete Rows gp tool followed by Append gp tool worked for me. Not sure if doing this via a script would result in an error as @JoshBillings seemed to experience.

0 Kudos
JackDrost
Occasional Contributor

For me it worked to remove the topology.  (Obviously that's not a workable solution for every situation.)

0 Kudos