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
Solved! Go to Solution.
pythonaddins.GPToolDialog(toolboxname, scriptname)
pythonaddins.GPToolDialog(toolboxname, scriptname)