AnsweredAssumed Answered

Creating a python 'wrapper' in C# in VS2017

Question asked by blueincSpatial on Jan 18, 2019

I asked the Python forum this question (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,