Hello all
i need ur help for this problem.in element scan criteria we have option excludealllevel,types ect but i want includeall level and onlyone level to need exclude . I tried but I can’t find the solution
As the name suggests ExcludeAllLevels excludes all Levels, there is no option just to exclude only one Level.
Once you get the ElementEnumerator, check for the element level that you wish to exclude as shown in the below code snippet
Do While oScanEnumerator.MoveNext Set oElement = oScanEnumerator.Current If oElement.Level.Name <> "level name to exclude" then 'Do Something End If Loop
Answer Verified By: sabarish l
thank you so much the information you gave was very helpful