Skip to main content
10-Marble
March 6, 2024
Solved

nested region table

  • March 6, 2024
  • 2 replies
  • 1740 views

ptc wildfire 4

problem in nested repeat tables
what relation to insert to count the total pieces of components in the WWW sub assembly?
See the attachment
www = 2 pieces so I have to have ww1 =2 ww2=2 ww3=2 pieces
It takes a relationship I don't know about

note: I have now put the &rpt.qty parameters in both the Q.ty ASM and Q.ty Parti cells of the nested repeat table

Best answer by Radovan_DT

 

 

if (code_sub_comp=="WW1") | (code_sub_comp=="WW2") | (code_sub_comp=="WW3")
	new_index=rpt_qty+1
	else
	new_index=rpt_qty
endif

 

rpt.rel.new_index

2 replies

14-Alexandrite
March 6, 2024

 

 

if (code_sub_comp=="WW1") | (code_sub_comp=="WW2") | (code_sub_comp=="WW3")
	new_index=rpt_qty+1
	else
	new_index=rpt_qty
endif

 

rpt.rel.new_index

mamobono10-MarbleAuthor
10-Marble
March 6, 2024

Thanks for the reply I'm not very familiar with programming but as far as I can see there isn't a generic solution.

I have to intervene manually (entering "WW1" etc.) every time I find myself in this situation.

What if there were 3 subassemblies? how I intervene in the relation

Thank you

Patriot_1776
22-Sapphire II
March 6, 2024

Don't do nested family tables, Windchill has issues with them.

mamobono10-MarbleAuthor
10-Marble
March 7, 2024

I thank you for the answer
It's just to help a colleague who asked me this question.
I use intralink 3.4 and will follow your advice