Skip to main content
14-Alexandrite
May 12, 2015
Question

Modeling BOM table customization

  • May 12, 2015
  • 2 replies
  • 4833 views

How can I customize the Modeling BOM table, displayed with Modeling BOM scan or filled up from Model Manager. I would like to add description column. Where is the customizable LISP code?


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

16-Pearl
May 12, 2015

There are directions in Modeling, in help search for BOM functions.

Basically you create 2 sketches for the table.

The BOM head which is the top of the bom table that names each column. Such as POS, Description, Quantity etc.

The BOM Component, This is a single row of the BOM table with the BOM attributes.

Once these sketches are made, they can be loaded into the am_mm_customize file as shown in the help document.

A sketch can also be created for the balloon.

lfortner14-AlexandriteAuthor
14-Alexandrite
May 12, 2015

Thanks Tom,

But I was just talking about the UI table (BOM table of) that pops up in the Modeling UI, just after sending BOM from Model Manager to Modeling; not about the table on the drawing. Aside Pos No, Quantity, Name, I would like to get Model Description as the 4th column.

Capture 20150512225400.JPG

16-Pearl
May 13, 2015

I understand now. A picture is worth a thousand words. I am not sure how to change this table.

1-Visitor
June 8, 2015

Hi Louis,

if you add a BomEditTableColumnModel section to your xml configuration file the configured columns will be displayed in Bomeditor by default if you start modelmanager for the first time.

Problem is that users can configure the table layout by right clicking into the table and modding the displayed attributes. This gets stored in %appdata%....

So I've modded the com.osm.datamgmt.action.SendToAnnotationAction and fixed the problem in code.

Might be possible that the <DefaultSendToCADReportConfig> tag in xml works too, but I came upon errors and needed a quick solution...

<BomEditTableColumnModel>

        <clear/>

        <Column>NAME

            <DisplayName catalog="awm_stda" msg_num="200">Name</DisplayName>

            <Width>8</Width>

        </Column>

        <Column>POS

            <DisplayName catalog="eprojects" msg_num="416">Pos No</DisplayName>

            <Width>5</Width>

        </Column>

        <Column>DB_QUANTITY

            <DisplayName catalog="model" msg_num="771">Modeled Qty</DisplayName>

            <Width>4</Width>

        </Column>

        <Column>DESCRIPTION

            <DisplayName>Bezeich. 1</DisplayName>

            <Width>30</Width>

        </Column>

<BomEditTableColumnModel>

lfortner14-AlexandriteAuthor
14-Alexandrite
June 10, 2015

Hi Uli,

My problem is not to fix the BOM layout on the 2D drawing, but rather the logical and display table layout as presented in my previous capture, that is the Modeling display table that raises up to the user to select masterdata when bubling the drawing.I need to rearrange this layout to make masterdata DESCRIPTION (and probably other MD attributes) appearing along POS, QTY and NAME.

1-Visitor
August 28, 2015

Louis,

Is this thread still open? Me too looking to customize BOM.

-

Dinesh