@elpie89 wrote:
Thanks @denisT.MaxDoctor to explain that.
You get the point...yes I need only the layers selected in the layer manager
so "layer selection" makes sense only when Layer Explorer is open.
You have to find Layer Manager Dialog as .net control. Find the TreeList which is SceneExplorerTreeList.
It's an expension of DevX XtraTreeList.
To get selected nodes use Selection property.
To get the count XtraTreeList.Selection.Count
To get a node XtraTreeList.Selection.get_item(<0 based index>)
To get a node name (the Layers's name) XtraTreeList.Selection.get_item(n).GetValue 0
i'm prety sure the MAX provides easy access to Layer Explorer dialog. But i don't forgot how and not really interested right now to remember 🙂