cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

where-used script in Intralink?

lylebeidler
1-Newbie

where-used script in Intralink?

Here's one for the Intralink scripting gurus:



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



Any thoughts?



--



Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>
0 REPLIES 0
Top Tags