I know that, given a nested object in the current drawing, I can use vla-get-ownerid and vla-objectidtoobject to climb back out the nesting tree for the original object. But vla-objectidtoobject only works in the current drawing, so when my nested object is in a drawing xreffed into the current drawing I seem to be out of luck.
Is there any way to get the nesting for objects in an xref?
The whole purpose of this is to get the vertex points for a nested pline. I've done this before when I know the nesting, but in this case the nesting may vary.
Thanks,
Mike