Timeline for Specify a GDB feature class using Python Tkinter dialogue box
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 26, 2014 at 15:33 | answer | added | Alex JL | timeline score: 2 | |
Oct 26, 2014 at 15:20 | comment | added | Alex JL | def browseFor_inFC(): ws_name = tkFileDialog.askdirectory() #print ws_name env.workspace = ws_name #print env.workspace wsName.set(ws_name) feature_classes = [] #fc = () for dirpath, dirnames, filenames in arcpy.da.Walk(ws_name, datatype="FeatureClass",type="Polyline"): for filename in filenames: feature_classes.append(os.path.join(dirpath, filename)) print filename print feature_classes #print fc #fcCombo['values']=fc | |
Oct 26, 2014 at 15:19 | comment | added | Alex JL | Here's the update: | |
Oct 26, 2014 at 1:00 | comment | added | Jason Scheirer |
Why not use pythonaddins.OpenDialog ?
|
|
Oct 25, 2014 at 21:26 | comment | added | Alex JL | Right. I used arcpy to specify a GDB feature class before. However, I cannot create multiple nice-looking GUIs with arcpy.:-) So, the question here is, is there a way to specify a GDB feature class through a Tkinter GUI? Thanks. | |
Oct 25, 2014 at 21:00 | history | edited | PolyGeo♦ |
edited tags
|
|
Oct 25, 2014 at 20:10 | answer | added | user2856 | timeline score: 0 | |
Oct 25, 2014 at 15:28 | review | First posts | |||
Oct 25, 2014 at 19:02 | |||||
Oct 25, 2014 at 15:26 | history | asked | Alex JL | CC BY-SA 3.0 |