marko not sure what exactly your new code should do
if i'm correct you can eliminate xref from the list with (ai_table "BLOCK" (+ 4 8 ) ). not necessary to check for xrefs.
kruuger
I want to reduce time, (qselect - block by name - draworder)... And also qselect is not very appropriate when dealing with selections of External References by name... Also my routine can find nested block and BEDIT its parent reference to set appropriate draworder inside parent... I hope this has some sense, unless you have time to do all this manually...
BTW. Firstly I wanted to eliminate Xrefs from routine operations, but then I realized this problem with qselect and hopefully I did find solution - I want routine to operate both and blocks and Xrefs... And now so it does...
Regards... Marko