Hi,
I would like to Export a FeaturLayer which is in several Group Layers into a lyr-File.
The Problem is: The Grouplayers have to be exported, too, so the structure of the Layers stayes the same.
But I can't find a way how to get to know if a FeatureLayer is within a GroupLayer, or if a GroupLayer is in another GroupLayer.
And if i loop through all GroupLayers I don't know which one is at the top.
Any idea, how to get this infos?
Thanks
M.
I would like to Export a FeaturLayer which is in several Group Layers into a lyr-File.
The Problem is: The Grouplayers have to be exported, too, so the structure of the Layers stayes the same.
But I can't find a way how to get to know if a FeatureLayer is within a GroupLayer, or if a GroupLayer is in another GroupLayer.
And if i loop through all GroupLayers I don't know which one is at the top.
Any idea, how to get this infos?
Thanks
M.