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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Summary: At Least One Family Table Instance used anywhere?

akelly
11-Garnet

Summary: At Least One Family Table Instance used anywhere?

We are using Pro/Intralink 3.4 F001.

Kudos to Lyle Beidler for supplying the attached Pro/Intralink script:

First, copy the attached file into your .proi/.data/user.data/source folder

Then, to run it,
Select the generic in Commonspace
Hit ctrl-s to bring up the Intralink Scripting dialog box.
Go to the Recompile tab, and select fam_tab_where_used, and hit Recompile.
You should get a message that says, Recompiled Successfully, and it will take you to the Playback tab, and fam_tab_where_used.class should show in the pulldown menu
With your generic still selected, hit Playback.

Windows will run, flash, etc. If you do truly have oodles and oodles of instances, this may take a bit of time. Go get a cup of coffee. Don't worry unless windows stop flashing & you don't get a pop-up box that says Finished.

When the Finished dialog box pops up, ok it and then go to your loadpoint directory. You should see a file called whereusedreport.txt Open it up, and you'll get a report of how many places each instance is used in. Note that this report discounts drawings - it only reports whether it's used in parts or assemblies.

Also, if you think this is something you'll continue to use, and you wish to not have to use the Scripting dialog box every time, you can install the script by doing this:
1) Use the Scripting dialog box to compile it, then
2) find fam_tab_where_used.class in your .proi/.data/user.data/lib folder
3) copy it to your .proi/.data/user.data/custom/CS folder (this one only runs from Commonspace, if it could run from Workspace, too, I'd tell you to also ad it to the custom/WS folder)
4) The next time you log into intralink, you'll see a new menu after "Intralink" and before "help" at the top of the screen. In that menu, you'll see fam_tab_where_used. To run the script, you'd simply select your generic, the pick Custom>fam_tab_where_used

<<fam_tab_where_used.java>>
0 REPLIES 0
Top Tags