Skip to main content
10-Marble
September 25, 2025
Solved

How to override cell in repeat region

  • September 25, 2025
  • 3 replies
  • 932 views

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.

 

Best answer by BenLoosli

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.

3 replies

BenLoosli23-Emerald IIIAnswer
23-Emerald III
September 25, 2025

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.

10-Marble
September 26, 2025

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.

kdirth
21-Topaz I
21-Topaz I
September 26, 2025

Why not just rename the parameter in the model?

There is always more to learn.
10-Marble
September 26, 2025

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

Community Manager
October 22, 2025

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 

24-Ruby III
September 28, 2025

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