AnsweredAssumed Answered

Find elements by name

Question asked by Dries.Verhees on Jan 9, 2017
Latest reply on Jan 11, 2017 by gregor

Dear all,


What is the most efficient way to search for a list of AF elements by name?

I have an array of names (strings) and I would like to get the list of elements, anywhere in the tree.

For example, a function like


IEnumerable<AFElement> FindElementsByName(AFElement searchElement, IEnumerable<string> elementNames)

Is there an efficient way to perform this search?