Hi,
I am looking for a way to create an Historical Marker programmatically with arcpy v.10.3. The archiving is enabled on a dataset in Oracle SDE.
I think, it's related with arcpy Version Toolset, but I can't find the documentation about this.
Solved! Go to Solution.
Hi Maxime
To create a Historical Marker from Python, an option is using comTypes. Following the next steps, you can create Historical Markers in a Enterprise Geodatabase from Python:
Environment: ArcGIS for Desktop 10.4.1 + Python 2.7
3. Delete all files in C:\Python27\ArcGIS10.4\Lib\site-packages\comtypes\gen
4. Copy the file Snippets.py (attached), into C:\Python27\ArcGIS10.4\Lib
5. From Python Script you must to implement a function to create the Historical Marker. (the example in the test.py file)
Hope this helps,
Edwin
Hi Maxime
To create a Historical Marker from Python, an option is using comTypes. Following the next steps, you can create Historical Markers in a Enterprise Geodatabase from Python:
Environment: ArcGIS for Desktop 10.4.1 + Python 2.7
3. Delete all files in C:\Python27\ArcGIS10.4\Lib\site-packages\comtypes\gen
4. Copy the file Snippets.py (attached), into C:\Python27\ArcGIS10.4\Lib
5. From Python Script you must to implement a function to create the Historical Marker. (the example in the test.py file)
Hope this helps,
Edwin