Have a look into the doc posted here: Sorting Repeat Region Table by Parameters not Available in Table Column
That's a pretty good tip, but not exactly what I needed. Thank you for the tip tho! I will put it in my arsenal!
You can create a 'comment' for each component as a Component Parameter. This is created at the Assembly level and is not making any change to the components of the assembly. The values can be added via the Model tree. Unlike a repeat region comment cell, it will be preserved with the assembly
In the assembly, go to TOOLS - PARAMETER - COMPONENT, then select the part you want to add the component parameter to. You'll have to do this for each component within the assembly.
In the table, you'll add the column and add the report symbol &mbr.cparam.your-param-name
Stephen Williams mentions one method - the other is to create a column in the model tree.
The trick is that there is a blank area at the bottom of the parameter selection window for model tree columns that you type the name of the parameter into - Creo won't show it in a list, at least it didn't in Creo 2. The first time you pick on that column for each component row it will prompt for the parameter type and then for the parameter value. Creating a mapkey to do the parameter type will help a lot. Once a component has a type and a value then you can edit it any time in the model tree and I think you can edit it directly in the repeat region. I think you cannot back-create a parameter from the repeat region; the assembly parameter for the component has to exist to be seen/modified within the resulting table.
The use I put it to was for setting the BOM item numbers, the epitome of sorting. This eliminated the need to FIX/UNFIX as components were added/removed and it allows skipping components that are needed to build the model, but aren't going to be part of the BOM (reference parts) It also meant that the item numbers were consistent across simplified reps. Lots of options available.
I prefer the family tree method because it's easy to march down the list.
repeat region parameters cannot be used outside repeat region, i.e. in a note.
l will desribe you my praxis around sorting components in repeat region. See following picture:
BOM_sorting parameter located out of printable drawing space and some "numbering schema" is the magic trick. BOM_sorting parameter is included in each part and assembly. It´s only auxiliary parameter.
In result the table will be sorted by BOM_sorting descading:
- imported geometry - BOM_sorting import template value 90
- nuts - loaded from server - BOM_sorting value 70
- screws - loaded from server - BOM_sorting value 60
- sheetmetal parts - BOM_sorting from template - value 50
- solid parts - BOM_sorting from template - value 10
- assemblies - BOM_sorting from template value 1
- corner stamp -
1st rule BOM_sorting parameter
2nd rule drawing number parameter
Working progress in praxis:
- create assembly with many subassemblies, parts, screws etc.
- all assemblies are BOM_sorting value 1 - are at the bottom of table (change the value between 1 and 9 in order to rearange)
- all solid parts are BOM_sorting value 10 (are above assemblies and bellow sheetmetal parts) ordered via 2nd rule drawing number - change BOM_sorting value between 10 and 49 in order to rearange
- all sheetmetal parts .... the same like solid parts ...
- etc. etc.
Advantige of this method:
- more different components can be the same BOM_sorting value ---> &rpt.index is shown in BOM ballons and it´s unique for each part ---> each BOM ballon value will be unique
Disadvantiges of this method:
- do not use annotations like: "weld position 5 and 8 together" ---> position value can be changed without your "wisdom" (added or deleted parts) and your annotation will be confusing
Hope it can helps