title: how to set input and output parameters in arcobjects using c#, which call python script?
body: <p>I have written a python script to geoprocessing ArcGIS data and set the workspace, input and output parameters inside the python code as: </p>
  
  <pre><code>env.workspace = arcpy.GetParameterAsText(0)
  # input feature class 
  inFeatures = arcpy.GetParameterAsText(1)
  # output feature class
  Transect_featureclass = arcpy.GetParameterAsText(2)
  </code></pre>
  
  <p>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 <code>GetParameterAsText</code> command inside the python code. </p>
  
  <p>I highly appreciate if someone there can help on this case. Thanks in advance.</p>