Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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
Solved! Go to Solution.
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
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
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
Don't do nested family tables, Windchill has issues with them.
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