Finding all objets in a file

Hi,

Is there any easy way to find all objects named “X” in a file without having to iterate through all its directories and sub directories (and sub-sub directories)?

N.

see TDirectory::FindObject or FindObjectAny

Rene

Thanks! That works great.

Can this be used to get the list of all objects so named. When using it I only get the first one.

N.