Have you written a script that recursively does a where-used search? I want to write a script that will as input one part or assembly, then run where-used reports on all it's where-used instances, until it reaches the top level (ie, the only place the item is used in is a drawing) and generate a list of the top-level dependencies.
I'm stuck on the pseudo-code stage, with going down through a list. The recursion is easier if each where-used report generates only one item, like this:
1234.prt used in 1234.asm which is used in 1235.asm which is used in 1236.asm
However, it gets tricky when
1234.prt used in 1234.asm AND
1235.asm AND
1236.asm which is used in 1237.asm
I'm having trouble getting it to go down through this list of three objects after it finishes checking 1234.asm