Pinned elements

I need to find elements fixed to the cad file, that is, walls and environments were designed using the cad file, now I need to select only these two elements that were drawn and fixed to the file. How can I do this? Any ideas on how to separate it from the other elements of the project?