I have written a python script to geoprocessing ArcGIS data and set the workspace, input and output parameters inside the python code as:
env.workspace = arcpy.GetParameterAsText(0)
# input feature class
inFeatures = arcpy.GetParameterAsText(1)
# output feature class
Transect_featureclass = arcpy.GetParameterAsText(2)
Since I am new to ArcObjects using c# in Visual Studio 2010, I am trying to use ArcMap Add-in to add a button into the ArcMap desktop. But I didn't know how to call this python script from c#, and get something like a textbox popup and ask the information about the input and output parameters path. Since I directly call the python, it didn't work with the GetParameterAsText
command inside the python code.
I highly appreciate if someone there can help on this case. Thanks in advance.