@Lee .. would something like this work as well?Code - Auto/Visual Lisp: [Select]
Ahhh yes .. good point :)@Lee .. would something like this work as well?Code - Auto/Visual Lisp: [Select]
Good suggestion Ron, but that could return false positives for unreferenced xrefs.
Below is a variation of the code I previously posted here (http://www.cadtutor.net/forum/showthread.php?48702-Find-nested-blocks&p=702984&viewfull=1#post702984), modified to apply to xrefs only:Code - Auto/Visual Lisp: [Select]
Excellent, Lee. Thanks for sharing.
Curious, what is the order of the list that (_xrefhierarchy) returns? Is it random based on how tblnext finds the refs?
Also, does it always list the "deepest" (child) references first, followed by any parent xrefs w child xrefs?