4

Since VB can activate the Editor, then use the tools listed in the Editor, such as copy parrallel, I am wondering whether Python can do the same job? I have been searching the website all day. Still can't find the answer from early questions-and-answers.

Can someone help me? Thanks in advance.

  • 1
    The arcpy library is a stripped down, coarse-grained subset of the functionality exposed by ArcObjects. If you want to run editing commands you'll need to use ArcObjects. If you want to use Python for this, check out the question How do I access ArcObjects from Python? – blah238 Mar 9 '12 at 22:18
  • Thanks a lot for your response. I will look at the ArcObjects. – mary Mar 12 '12 at 14:01
1

If you have upgraded to ArcGIS 10.1 or beyond then you can perform a Move equivalent in ArcPy using arcpy.da.UpdateCursor and the SHAPE@XY token as described in this Answer to another Question.

I have not tried emulating Copy Parallel but I suspect that it can do that too using the same method.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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