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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Format Table relations question

davehaigh
11-Garnet

Format Table relations question

Currently we have a format/template where the Table/Repeat Region is added to the drawing after the model is applied.

I'm testing making the Table/Repeat Region part of the format/template and ran into a relations error issue.

Background:
Our models have a parameter BOM_QTY_TYPE.
Currently we add the Table after the drawing is created using a drawing template.

The current table relations look like this:/* Relations to set bom qty per BOM_QTY_TYPE model parameter if ASM_MBR_BOM_QTY_TYPE == "AR" | ASM_MBR_BOM_QTY_TYPE == "NA"\ | ASM_MBR_BOM_QTY_TYPE == "ALT" | ASM_MBR_BOM_QTY_TYPE == "PM"\ | ASM_MBR_BOM_QTY_TYPE == "EM" | ASM_MBR_BOM_QTY_TYPE == "ARS" Qty=ASM_MBR_BOM_QTY_TYPE ELSE/*Sample relations for faking BOM Quantitiesif asm_mbr_description=="123-4567-890"qty="xx"elseif asm_mbr_part_number=="12345-67"qty="xx"else Qty=rpt_qty ENDIFendifendifIF the model parameter for BOM_QTY_TYPE is anything other than the six values listed in the relations the qty shown is the number of items in the assembly.

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.
0 REPLIES 0
Top Tags