1
AutoLISP (Vanilla / Visual) / Re: finding nested xrefs - AutoLISP
« Last post by cadpoobah on Today at 02:28:46 PM »Below is a variation of the code I previously posted here, 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?
What I see is something like this:
(("Child1") ("Child2") ("Childn") ("Parent1" "Child1") ("Parent2" "Child2")...)