Hello to everyone,
is it possible to use arcpy.GetParameterAsText() for User Input e.g. for a table or a name of a featureclass?
This is my code I already wrote. But it doesn't open an window for value input.
Thanks alot,
krank42
is it possible to use arcpy.GetParameterAsText() for User Input e.g. for a table or a name of a featureclass?
Code:
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
Thanks alot,
krank42