AnsweredAssumed Answered

ArcGIS 10.1 python add-in usage of arcpy.GetParameterAsText

Question asked by krank42 on Feb 26, 2013
Latest reply on Feb 28, 2013 by krank42
Hello to everyone,

is it possible to use arcpy.GetParameterAsText() for User Input e.g. for a table or a name of a featureclass?

 def onClick(self):         # Script arguments         import_file = arcpy.GetParameterAsText(0)          tab_gdb = arcpy.GetParameterAsText(1)          tab_mxd = arcpy.GetParameterAsText(2)          # Local variables:         Ausgabetabelle = import_file         Geodatenbank = env.workspace          # Process: Tabelle in Tabelle         arcpy.TableToTable_conversion(import_file, Geodatenbank, tab_gdb, "", "", "")          # Process: Tabellensicht erstellen         arcpy.MakeTableView_management(Ausgabetabelle, tab_mxd, "", "", "")         pass


This is my code I already wrote. But it doesn't open an window for value input.

Thanks alot,

krank42

Outcomes