Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import arcpy
- testabc = r"in_memorytestabc"
- myTable = "mytable"
- in_memory = "in_memory"
- output = arcpy.TableToTable_conversion(myTable, in_memory, "testabc", "", "", "")
- arcpy.SetParameter(0, output)
- import arcpy
- mxd = arcpy.mapping.MapDocument("CURRENT")
- df = mxd.activeDataFrame
- testabc = r"in_memorytestabc"
- myTable = "mytable"
- in_memory = "in_memory"
- arcpy.TableToTable_conversion(myTable, in_memory, "testabc", "", "", "")
- mytableview = arcpy.mapping.TableView(testabc)
- arcpy.mapping.AddTableView(df, mytableview)
- arcpy.RefreshTOC()
Add Comment
Please, Sign In to add comment