ArcPy questions. ArcPy limitations.

1555
1
07-15-2011 11:27 AM
SolomonPulapkura
Occasional Contributor III
Using arcpy/python,

1. How do I get the type of the container, a feature class is in.
I want to know whether a feature class is in a feature dataset or in a geodatabase.
container = os.path.dirname(feat_class)
container.type?


2. There are several List functions in arcpy. ListFeatureClasses etc.
How do I get to a Topology in a feature dataset?

3. How do I inspect if a feature class participates in a given topology?

Are all these possible w/ ArcPy? If so, how?

Thanks for your help.
0 Kudos
1 Reply
SolomonPulapkura
Occasional Contributor III
Never mind.

I'm answering my own (dumb) question.

The answer to all the above is Yes.
The solution is use the Describe object.

Should have researched more before posting.
Hope it's useful to someone!
0 Kudos