Skip to main content
Mar 6, 2024 10:29 AM UTC
Solved

nested region table

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

Mar 6, 2024 1:20 PM UTC

 

 

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

4 replies

Mar 6, 2024 1:20 PM UTC

 

 

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

mamobonoAuthor
Mar 6, 2024 2:04 PM UTC

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

Mar 6, 2024 5:46 PM UTC

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

mamobonoAuthor
Mar 7, 2024 7:25 AM UTC

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