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 the Community Ranking System, a fun gamification element of the PTC Community. X

Translate the entire conversation x

Custom Serial Numbering in Creo Repeat Region Tables (e.g., 1_1, 1_2,2,3, 4_1.4_2,4_3, 5.6.7....)

SKY
10-Marble
10-Marble

Custom Serial Numbering in Creo Repeat Region Tables (e.g., 1_1, 1_2,2,3, 4_1.4_2,4_3, 5.6.7....)

SKY_1-1748444910684.png

 

Hello,

 

I want to customize the serial numbers shown in a repeat region table in Creo drawings. Instead of using the default linear numbering (1, 2, 3, ...), I’d like to apply a more structured format like;

 

1_1
1_2
2
3
4_1
4_2
4_3
5
6
7

This is especially useful when I need to group sub-items under a main item, or indicate logical associations between parts in an assembly.

I've tried using rpt.index and creating relations in the repeat region, but I’m not sure how to dynamically generate such custom values. 

 

What’s the best way to set this up in Creo so that the table updates automatically based on the model?

4 REPLIES 4
MartinHanak
24-Ruby III
(To:SKY)

Hi,

 

1.]
You cannot modify a value of system rpt_index parameter.

2.]
Replace rpt_index with my_rpt_index on the left side of relations.

3.]
In table cell replace &rpt_index with &rpt.rel.my_rpt_index


Martin Hanák
SKY
10-Marble
10-Marble
(To:MartinHanak)

Hi Martin Hanák ,

Thank you for the clarification!

  1. Understood that rpt_index is a system parameter and cannot be modified directly.

  2. I’ve replaced rpt_index with my_rpt_index on the left-hand side of the relations as suggested.

  3. Also updated the table cell to use &rpt.rel.my_rpt_index.

That worked perfectly for the custom values like 5_1 and 5_2.

Could you please also guide me on how to show the remaining serial numbers (like 1, 2, 3, 4, 6, 7) in sequence, while skipping/adjusting around the modified custom ones?

Thanks again for your support!

SKY_0-1748500088643.png

 

MartinHanak
24-Ruby III
(To:SKY)


@SKY wrote:

Hi Martin Hanák ,

Thank you for the clarification!

  1. Understood that rpt_index is a system parameter and cannot be modified directly.

  2. I’ve replaced rpt_index with my_rpt_index on the left-hand side of the relations as suggested.

  3. Also updated the table cell to use &rpt.rel.my_rpt_index.

That worked perfectly for the custom values like 5_1 and 5_2.

Could you please also guide me on how to show the remaining serial numbers (like 1, 2, 3, 4, 6, 7) in sequence, while skipping/adjusting around the modified custom ones?

Thanks again for your support!

SKY_0-1748500088643.png

 


Hi,

rpt_index = "my_rpt_index" ... this is nonsense

 

Try following relation instead of it ...

my_rpt_index = rpt_index


Martin Hanák
anursingh
Moderator
(To:SKY)

Hi @SKY,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag 

Announcements

NEW Creo+ Topics: Real-time Collaboration

Top Tags