Select to view content in your preferred language

Creating a python 'wrapper' in C# in VS2017

529
0
01-18-2019 11:26 AM
BrianWoodman
Emerging Contributor

I asked the Python forum this question (https://community.esri.com/thread/226750-creating-a-python-extension-for-c-in-visualstudio ) but received no response. Perhaps this is a better forum to ask this:

In VS2017, I can use the Add-In wizard to create a custom ribbon Add-In using C#; no problem. What I'd like to do is, from within that C# button-click handling code, call different python METHODS (not the python exe). My various methods in python use arcpy so the Python runtime I use needs to be the one that supports arcpy and NOT IronPython.

How can I accomplish this?  Thanks in advance for your help,

Brian

Tags (2)
0 Kudos
0 Replies