Getting geometry from importinstance by layer

I need each text element on one CAD layer, but i can’t find the right node. I’ve tried looking through Bimorph and LinkDWG nodes, but cant find anything.
Does anyone know if such a node exists? if not, would it be possible with python?

What I need: