Skip to main content
10-Marble
August 12, 2015
Solved

How to edit the BOM table in drawing.I need to enter few details manually inside the table. I'm not able to do it inside the cells.

  • August 12, 2015
  • 2 replies
  • 31080 views

How to edit the BOM table in drawing.I need to enter few details manually inside the table. I'm not able to do it inside the cells.

even i tried

Repeat region ---> comments ---> Define cells -->pick the cell u want to edit --> ok.

but got an error message "Definition cannot fall outside the template of a repeat region"


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.
Best answer by mender

I presume here you want a note in a cell that will stay with the particular repeat region record (row) when you update the table.

1) If you are looking to override a cell for a particular item, where most records have a particular value shown, but special ones do something else, what you do is go to the relations/parameters for the repeat region, make a relation parameter for it, and a relation that gives the special value.  Call this parameter out in the table:

[ rpt.index             rpt.qty          rpt.rel.reportdesc ]

with relations

reportdesc = asm_mbr_name

if (asm_mbr_name == "BOLT")

  reportdesc = "SPECIAL"

endif

2) If it is like #1, but you want the same special text in multiple drawings using the same part, you can have a parameter in your part that gives the text, and include this as an extra column.

3) A repeat region comment is basically a note tied to a particular record, that you can call out instead of report parameter.  To do this, define your region with a BLANK cell for the comment:

[ rpt.index          rpt.qty          asm.mbr.name         <BLANK> ]

Then Repeat Region > Comments > Define Cell, and pick the blank cell to declare it as a comment cell.  Build out your table as normal.  Then you can edit the text in this cell for whichever rows/records you like, and put the manual text in it.  When you update the table, this comment text will follow the record, much as a dash / flat/recursive / fix index instruction does.

2 replies

23-Emerald III
August 12, 2015

You can not modify the individual cells of a repeat region since it is automatically generated.

I can think of 3 options.

1. Convert the table to "dumb" text and edit the lines manually. you would lose any balloons and future changes wouldn't be driven by the table.

2. Paginate the table and add the lines manually between the segements of the table.

3. Use table relations to override the value of on of the values you are displaying.

None of these options are easy but paginating would probably the least difficult.

mender12-AmethystAnswer
12-Amethyst
August 12, 2015

I presume here you want a note in a cell that will stay with the particular repeat region record (row) when you update the table.

1) If you are looking to override a cell for a particular item, where most records have a particular value shown, but special ones do something else, what you do is go to the relations/parameters for the repeat region, make a relation parameter for it, and a relation that gives the special value.  Call this parameter out in the table:

[ rpt.index             rpt.qty          rpt.rel.reportdesc ]

with relations

reportdesc = asm_mbr_name

if (asm_mbr_name == "BOLT")

  reportdesc = "SPECIAL"

endif

2) If it is like #1, but you want the same special text in multiple drawings using the same part, you can have a parameter in your part that gives the text, and include this as an extra column.

3) A repeat region comment is basically a note tied to a particular record, that you can call out instead of report parameter.  To do this, define your region with a BLANK cell for the comment:

[ rpt.index          rpt.qty          asm.mbr.name         <BLANK> ]

Then Repeat Region > Comments > Define Cell, and pick the blank cell to declare it as a comment cell.  Build out your table as normal.  Then you can edit the text in this cell for whichever rows/records you like, and put the manual text in it.  When you update the table, this comment text will follow the record, much as a dash / flat/recursive / fix index instruction does.

mbabu10-MarbleAuthor
10-Marble
August 12, 2015

how to merge the columns in repeat region table

24-Ruby III
August 13, 2015

Merging columns in Repeat region is not possible.