Message 1 of 6
Get the top group/node in a selection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey, I need to get the top node/group in a selection. I have groups within groups within groups etc, but when I get selection it gets all objects in the group but in no particular order. I need the one at top of the hierarchy. I am using isGroupHead to collect the group heads in a selection but it doesn't provide any order or hierarchy. Being able to sort the array based on the order or hierarchy would be cool.