Skip to main content
10-Marble
Sep 25, 2025 7:57 PM UTC
Solved

How to override cell in repeat region

I am using creo parametric 10.0.2.0

I have a schedule in my drawing that is using a 2-D repeat region to call out my family table and insert a table with the following:

 

                           |  fam.inst.param.name  |                           |                            |                            |

fam.inst.name |  fam.inst.param.value   |                           |                            |                            |

                           |                                           |                           |                            |                            |

 

         |  A     |  B       |  C      |  D      |  PART_NO  |  REMARKS  |

  -1   |  0.5   |  0.5   |  0.5   |   0.5  |  150QS01       |  NONE         |

  -2  |   0.2  |   0.2  |   0.2  |   0.2  |  150QS02       |  NONE         |

 

I hope that is good enough for anyone to understand what I am doing as I cannot share my actual data.

 

I want to override one of the fam.inst.param.name cells.

ex: the "PART_NO" cell, I want it to say something like "PART #"

 

I had seen that using the relations is the way to go but I tried writing something like this:

 

IF fam_inst_param_name == "PART_NO"
repeat_override = "PART #"
ELSE
repeat_override = fam_inst_param_name
ENDif

 

I then changed the fam.inst.param.name cell to rpt.rel.repeat_override using the User Defined option but it does not work.

 

Any help is appreciated as this would unlock a ton of possibilities for my team.

 

BenLoosliAnswer
23-Emerald III
Sep 25, 2025 8:37 PM UTC

The header cells cannot be changed by relations.

If you are trying to replace the 150QS01 or 150QS02 with PART #, then you need those values in your IF statement.

As it is formatted now, you are looking for a string 'PART_NO' and not a variable name.

9 replies

BenLoosli23-Emerald IIIAnswer
23-Emerald III
Sep 25, 2025 8:37 PM UTC

The header cells cannot be changed by relations.

If you are trying to replace the 150QS01 or 150QS02 with PART #, then you need those values in your IF statement.

As it is formatted now, you are looking for a string 'PART_NO' and not a variable name.

Translate
10-Marble
Sep 26, 2025 12:57 PM UTC

I see.

But now shouldn't it find the string 'PART_NO' in the headers row and change that? Seems like a dumb way to program it, but what do I know lol.

 

Can I set the repeat region to NOT include the headers? I don't mind typing in each column headers. I tried doing this as well but I don't think I was setting the region correctly and the existing documentation on how to use repeat regions is honestly atrocious.

Translate
kdirth
21-Topaz I
Sep 26, 2025 3:12 PM UTC

Why not just rename the parameter in the model?

Translate
There is always more to learn.
10-Marble
Sep 26, 2025 3:18 PM UTC

I tried but 'PART #' is not a valid name apparently, unless it is and im actually just dumb

Translate
Community Moderator
Oct 22, 2025 7:08 AM UTC

Hi @SD_14219997,

 

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 

Translate
24-Ruby III
Sep 28, 2025 6:34 AM UTC

Hi,

you can use following non-parametric "solution".

  • move table containing 2-D repeat region outside of drawing frame
  • export table containing 2-D repeat region to csv file
  • import csv file into drawing to get dumb table
  • modify table contents according your needs

 

Translate