Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a script that does some register as versioned and updating privileges.

How would I call into the c api for ArcSDE to enable archiving with python?

Any direction would be helpful.

share|improve this question
up vote 0 down vote accepted

I am not sure if this was available earlier than ArcGIS 10.2 for Desktop, but there is now a tool called Enable Archiving (Data Management) which:

Enables archiving on a table, feature layer, or feature dataset.

Its online documentation, which is linked above, provides an ArcPy code sample that:

illustrates how to use the EnableArchiving tool in a stand-alone script.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.