AnsweredAssumed Answered

Save path to gdb from GetParameterAsText

Question asked by n.ueberschaeresri-rw-esridist Employee on Oct 18, 2017
Latest reply on Oct 24, 2017 by Dan_Patterson

I wrote a tool script using python that collects a couple of feature classes (from different Feature data sets in the same gdb) as several GetParameterAsText. 

When I now want to start editing I figured out that it requires to address the gdb and not the Feature data set (or the feature class). But all methods I found until now refer to the feature data set. 

like

 

os.path.split(_polygonfeature)[0]

or 

os.path.dirname(_polygonfeature)

Isn't there a way to call the gdb that contains the feature class/feature data set?

 

Thanks in advance!

Outcomes