Thanks for the reply Bryco.
I search every layout specifically, as each layout contains some blockreferences that has a few attributes. What I intend to do is, I write these attributes into Excel, one row for one layout. And so far, everything works. But one of the attributes are in an xref which cannot be retrieved like all other attributes. So I would like to know how this can be done.
Thanks