I have text entities ( room numbers ) and polygons ( room outlines ). I create an association list
( ("rm_nm_txt" <rm_ename>) ("rm_nm_txt" <rm_ename>)...)
I was using vl-sort to sort this list in ascending order by room number. Now, I need to reach back into that list and grab the room name by the cdr, if I am communicating at all.
I think I would like to use (setq it (ssget "_CP" ptlst) ) to get the polyline I want, and then (ssname 0 it) to get the ename, and search the list for the corresponding room number. (member ) is not working for me, so I am thinking I may need either a different subr or a different list type.
Any suggestions?