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

nested region table

mamobono
6-Contributor

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

ACCEPTED SOLUTION

Accepted Solutions
Radovan_DT
13-Aquamarine
(To:mamobono)

 

 

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

View solution in original post

4 REPLIES 4
Radovan_DT
13-Aquamarine
(To:mamobono)

 

 

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

mamobono
6-Contributor
(To:Radovan_DT)

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
(To:mamobono)

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

mamobono
6-Contributor
(To:Patriot_1776)

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

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags