Greetings. We have legacy ArcGIS VBA code that takes COGO ground to grid correction factors (Direction Offset and Distance Factor) from a database and inserts them into the Edit Properties using IEditProperties2. I am porting the tool to ArcPy in 10.4.1.
I have no trouble getting the fields from the database but I see no ArcPy method/interface to update the Edit Properties that VBA refers to as .DistanceCorrectionFactor and .AngularCorrectionOffset.
In addition to the Editor-Options dialog, the COGO Ground to Grid Correction tool is another way to enter the 2 settings, but as I understand it toolboxes can be automated in arcpy but not tools.
I’m pretty comfortable in Python but can’t find a way to set these edit environment settings. Any ideas?
Old VBA code snip attached.
There is nothing in the arcpy tree as you have probably checked, but for the benefit of others... the Arcpy tree
I was wondering how to change the Editor Options as well. I used to have a little VBA button that would switch between quadrant bearing and north azimuth for me.
python only... you would have to check the link I posted in my thread to see if arcpy function exist
Yes, I was saying I have the same issue. The arcpy doesn't exist.
With ArcGIS Pro: Enable COGO and Disable COGO.
Thanks! Unfortunately (to my knowledge), ArcGIS Pro doesn't support ground to grid correction.