Skip to main content
1-Visitor
March 21, 2016
Solved

Is there a way to find the BOM position number (as it is on the drawing) for a given part?

  • March 21, 2016
  • 8 replies
  • 4227 views

For example, if I want to write a LISP command which has me select a 3D model (part or assembly) and then display the BOM Position Number from the drawing. There is obviously a way to do this because the BOM table commands in Annotation can grab the information. (I am not getting the BOM Position information from Model Manager.)


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 wvangeem

Hello Peter,

The name of the BOM logical table is "AM-BOM-DATA-LTAB"

In the reference manual of the integration kit, you can find out how to read logical tables.

With (display (sd-get-logical-table-key-column-identifiers "AM-BOM-DATA-LTAB")) you will see all the columns

With sd-read-logical-table-cell you can read a value from the logical table from a certain row and column.

The sys-id is the unique identifier in this logical table, so you will certainly be able to fetch the position number out of it.

Best regards,

Wim.

8 replies

17-Peridot
March 21, 2016

You are probably looking for something internal to repeat region of the BOM table.

This means you are looking for a "member" number which may have a "sequence" parameter as well.

1-Visitor
March 21, 2016

What I'm looking for is to be able to select an item from the display table which shows the BOM (what you get when you press the "Table" command in the "BOM" group on the "Insert" tab) and return the value in the "###" column of that table. What I have found is that selecting an item in that table returns the 'SysID' of the model. I'm sure that there is a way to retrieve the Position Number from the 'SysID'; I just don't know how to do it.

17-Peridot
March 21, 2016

I am no expert at finding parameters and other data behind the scenes.  I was only suggesting where to look for more information.

24-Ruby III
March 22, 2016

Peter,

I guess that you are using Creo Elements/Direct (CoCreate). Unfortunatelly you have opened a discussion in Creo Parametric area .

MH

1-Visitor
March 22, 2016

On my system it says that this discussion is in the PTC Creo Elements/Direct area.

24-Ruby III
March 22, 2016

Hi,

I apologize, I missed information at the top of the page.

area.png

MH