Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello All
Sorry my English is not well.
I have a customer question is about how to do rpt.index like
----->
Index | Model Name | Material | QTY |
---|---|---|---|
1 Change to ---> EX: N101A001 | |||
2 Change to ---> EX: N101A002 | |||
3 Change to ---> EX: N101A003 | |||
4 Change to ---> EX: N101A004 |
Can Creo 2.0 do this?
Shawn
Solved! Go to Solution.
I already find out method. thank you Jayanta Sarkar
Table > Repeat Region > Relation > Select Repeat Region > Relations > Add below mentioned relation > Modify Report Parameter for repeat index to &rpt.rel.i3 > Update table
if rpt_index<10
i1=itos (rpt_index)
i2="00"
i3=i2+i1
endif
if rpt_index>=10
i1=itos (rpt_index)
i2="0"
i3=i2+i1
endif
if rpt_index>99
i3=itos (rpt_index)
endif
I guess you can put a parameter in every component ( example: part no) then retrieve with that part no instead of rpt.index. Part no parameter can be anything as you like.
I already find out method. thank you Jayanta Sarkar
Table > Repeat Region > Relation > Select Repeat Region > Relations > Add below mentioned relation > Modify Report Parameter for repeat index to &rpt.rel.i3 > Update table
if rpt_index<10
i1=itos (rpt_index)
i2="00"
i3=i2+i1
endif
if rpt_index>=10
i1=itos (rpt_index)
i2="0"
i3=i2+i1
endif
if rpt_index>99
i3=itos (rpt_index)
endif