Identify the parts in the assemblied
How to identify any part used in what are the assemblies?
Basically, need to know, in how many assemblies, the specific part been used.
@mamobono wrote:
Thanks Martin
Great, it works now.
The only difference with the BAT version is that the txt file is overwritten and the previous search is lost.
I think it's an excellent solution that could be useful for those who don't have a drawing management software.
We'll have to evaluate how long the search through many files will take.
Thanks Martin Hanák and also to Ken Farley, who started the process with his suggestion.
One last thing: I don't know how to rate "solution accepted."
Hi,
to prevent result file overriding you have two choices.
1.) using different result file names, eg.
cscript//nologo whereused_MH3.vbs PARTNAME_01 > PARTNAME_01.txt
cscript//nologo whereused_MH3.vbs PARTNAME_02 > PARTNAME_02.txt
2.] using >>
cscript//nologo whereused_MH3.vbs PARTNAME_01 >> result.txt
cscript//nologo whereused_MH3.vbs PARTNAME_02 >> result.txt
Note: I modified vbs file to insert the name of the searched part before the results. See attached whereused_MH3.vbs

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.