Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

It appears that the only way to copy individual rows of data while preserving GlobalIDs in code is by using C# or VB.NET.

I need to run the C# code from the above link within a python tool, and I am curious if anyone knows proper techniques or any examples of doing this. I have come across a couple ways to execute C# code within python, such as this and this, but I wanted to see if anyone could show me any examples or tips on doing this for ArcMap.

Also, I know that writing the whole script in C# using arcobjects would probably be the 'best' solution, but my organization would like to keep all of our tools in python.

share|improve this question

There are these bindings.

share|improve this answer
    
Thanks. Do you know of any examples of ArcGIS python tools using these? – Tanner Aug 25 '11 at 17:51

Your Answer

 
discard

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.