Skip to main content
1-Visitor
August 2, 2016
Question

Parametric Matrix Table

  • August 2, 2016
  • 22 replies
  • 8069 views

I have a matrix table, fully parametric. It has parts (-01 through -04) and 29 items. Some of these items should not show as numerical, but rather as A/R in the table as their quantities are less than one.

On other tables I use

/* determines quantity

IF asm_mbr_ca_part_no == "PART#"

   NUM = "QTY"

ENDIF

and just edit "part#" and "qty" to what I need and update the table and it works. But on this parametric table I see this (as default):

IF ASM_MBR_TYPE == "BULK ITEM"

NUM = "A/R"

ELSE

LOST SYMBOL= rpt_qty

error Invalid left side of assignment

ENDIF

I cannot change "bulk item" to the part number needed nor can I add my own command (as shown above) to make the table show the amount I need. There is something somewhere that Creo does not like but I just don't know what it is. We are just starting to use parametric matrix tables and nobody here knows what is going on.


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.

22 replies

jcolon1-VisitorAuthor
1-Visitor
August 2, 2016

This is what my table looks like at the moment. Items 3, 5 and 12 should have a quantity of A/R and I also would like to add a qty of "0" to the empty spaces in the table, if possible.

table.png

12-Amethyst
August 2, 2016

try:

NUM=rpt_qty

/* determines quantity

IF asm_mbr_ca_part_no == "PART#"

   NUM = "QTY"

ENDIF

IF ASM_MBR_TYPE == "BULK ITEM"

NUM = "A/R"

ENDIF

This way, NUM is given a value, and it is changed if it meets certain criteria.

jcolon1-VisitorAuthor
1-Visitor
August 2, 2016

That, at least, got rid of the error, but changed nothing in the table. Does it have something to do with the relation of -01,-02... because they each reference a different model in a family tree? Or maybe because there are more than one bulk item in the drawing, meaning that not only the items I want the qty to change, but others who have a set qty of 1 are reading as bulk items.