this should be easy, but I have been away for a while.
I have a device number saved in a file as an attribute. I want to get it's location so I can zoom to it and find it.
(ssget "_X" '((0 . "ATTRIB") (1 . "17.91.1")))
of course, that returns nil.
I can
(setq them (ssget "x" '((0 . "insert")(2 . "a-fp17-fp-alarm$0$sr-ur"))))
<Selection set: 64>
then I can zoom to the (cdr (assoc 10 (entget (ssname them 0))))
but I think there is a way to get the one and only attribute I want, I just can't remember how the attributes are associated to a specific insert.