cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Repeat Region - customization?

tyler.smith
1-Newbie

Repeat Region - customization?

Hi All,

I'm using a 2-D repeat region to display the contents of my family table
in a drawing. I've run across several things I'd like to do, but can't
seem to find a way. Is it possible to do any of the following?

- display different number of decimal places for each column's contents
- display a parameter description for the column heading or display
custom text rather than the parameter name (i.e. my parameter is A_DIA
and I want the column heading to be 'A' DIA)
- vary column widths throughout the table (I have one column
IDENTIFICATION STAMPING and another called ITEM NO. - I don't need the
columns the same width)

Hopefully my attached image is small enough to make it through.

Thanks in advance,
Tyler


<<repeat.jpg>>

This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2

No, not with a 2D repeat region, you will need to create a simple region
for each column if you want that much control.

1. Create your table with the number of columns that will be required and
two rows. The top row will be for your manually entered titles.
2. In the second row create your simple repeat regions in each column by
picking each column cell twice.
3. Next add your filters for each column... You will type in a filter like
this &fam.inst.param.name == <parameter or=" dimension=" symbol="> for each
column.
4. Next you will need to select each column in the second row and RMB >
Report Parameter > fam > inst > param > value
5. Then Table > Repeat Region... > Update Tables

If you do step 4. before step 3. you will see all the data attempting to
fill in each of the columns, or if you miss the filter on a column you
will see all of the family table's data in that one column. You can add
the filters after the fact but personally it just takes too long in my
opinion if you switch the order.

6. Enter what ever text you want for the column headers by selecting the
cell and RMB > Properties.

You will be able to control the column width, decimal places separately
for each column using this method.

*** This is what we have done for years so I know it works, one thing to
watch out for is that you generic model has to be the active model when
you create the table. ***

You can also nest the columns but this will make the table take longer to
regenerate and rarely gave us any more accurate tables. There is an .dtl
option called sort_method_in_region we have set to pre_2001, I no longer
remember what exactly this does but I know we had issue with the tables
not sorting as we expected until this was changed.

Brian S. Lynn
Technical Coordinator, Product Engineering

For the first one, if the data is from a dimension, merely changing the number of decimal places in that dimension's properties accomplishes this. If that's not the case for your problem, I'm not sure the first two are possible with 2D repeat regions.

The third problem, however, is a simple drawing setup file (*.dtl) option. Look for the option "2d_region_columns_fit_text" and change it to yes. Each column will be automatically sized to fit the text within.


Hi All,

I'm using a 2-D repeat region to display the contents of my family table
in a drawing. I've run across several things I'd like to do, but can't
seem to find a way. Is it possible to do any of the following?

- display different number of decimal places for each column's contents
- display a parameter description for the column heading or display
custom text rather than the parameter name (i.e. my parameter is A_DIA
and I want the column heading to be 'A' DIA)
- vary column widths throughout the table (I have one column
IDENTIFICATION STAMPING and another called ITEM NO. - I don't need the
columns the same width)

Hopefully my attached image is small enough to make it through.

Thanks in advance,
Tyler


<<repeat.jpg>>
Top Tags