Cancel
Showing results for 
Search instead for 
Did you mean: 

SWIM : Assembly Driven Part Numbers in BOM

Hello

 

When users are inserting BOM in Drafting OR in the Model, Part Number listing as Description of the item. I have updated the Attribute to relfect the part number, but still I am facing same issue. Please advise how to fix the issue.

 

My Requirement is to get Part Numbers displayed in BOM from Teamcenter BOM (pdmtocad)

Attached is the snap & swim.xml file. Please advise.

 

11 REPLIES

Re: SWIM : Assembly Driven Part Numbers in BOM

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
Further down in the swim.xml file is the BOM section which is not shown in your swim.txt attachment?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: SWIM : Assembly Driven Part Numbers in BOM

Hello Randy

 

No we dont have the BOM section. This is OOTB installation & we don't have additional configurations. Siemens confirmed that, with OOTB installation, BOM is Auto generated. I have done some testing on same, where BOM is generating based on Configuration in Solidworks. (Picks the value from the dataset). If Dataset created same as item number , Part Number displays correctly, if Dataset created as per description of the part, then Part Number would be Description. We have many more drawings to get BOM updated manually to reflect Part Number as item number. 

 

we can't update configurations to reflect item number as we have multiple configurations for machining, casting & others - it is cumbersome effort to update the configurations. Attached is the scenario. Please advise.

Re: SWIM : Assembly Driven Part Numbers in BOM

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor

There is a BOM section in swim.xml (ootb - see attached image) however that doesn't look like your problem. Your problem is the value of the "Part Number" column in the parts list on the drawing. This is likely configured in the same file, in the "attribute_map" section. Something like...

        <attribute>
            <cad_name value="DRAWING NO."/>
            <pdm_name value="item_name"/>
            <missing_attribute_action value="create"/>
            <direction value="both"/>
        </attribute>

swim-bom.png


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: SWIM : Assembly Driven Part Numbers in BOM

Pioneer
Pioneer

Hello Ganesh..

In this bunch,

 

</attribute>
<attribute>
<cad_name value="Description"/>
<pdm_name value="ItemRevision.object_name"/>
<direction value="both"/>
</attribute>

 

 

Can you change the value of <pdm_name value="ItemRevision.object_name"/> to object item ID and give a try...

 

thanks.

Re: SWIM : Assembly Driven Part Numbers in BOM

No, I am end up in error

 

Getting MasterForm Names for: Item

Successfully Completed Exporting Business Rules to the File:C:\Users\infodba\App
Data\Local\Temp\2\type_business_rules.xml
Querying Teamcenter is Done...
Convert Attribute definitions....
ERROR ( 0.280): Attribute definitions not converted...
Refer logfile.txt for details.
com.transcendata.util.ProgrammerException: Error parsing attribute map

 

Below is the extract of the Error from log file.

DEBUG ( 0.279): Attribute CAD name: "Description"
DEBUG ( 0.279): Attribute PDM name: "item_name"
DEBUG ( 0.280): Attribute CAD name: "Description"
DEBUG ( 0.280): Attribute PDM name: "Item_ID"
ERROR ( 0.280): Attribute definitions not converted...
Refer logfile.txt for details.

Re: SWIM : Assembly Driven Part Numbers in BOM

Even after adding Property 'Drawing NO" I didnt suceed in getting results. !!

Please advise any alternate solution. Many of the drawings has to be updated with item number which engineers are updating manually, which is cumbersome effort & not advisable.

 

thanks, 

Re: SWIM : Assembly Driven Part Numbers in BOM

Pioneer
Pioneer

@MadhusudhanRao

 

Is it working for other properties like density, volume etc..

Re: SWIM : Assembly Driven Part Numbers in BOM

It is working for Weight & volume.

Re: SWIM : Assembly Driven Part Numbers in BOM

Pioneer
Pioneer

@MadhusudhanRao

 

Is the BOM table is auto created or manually created..

If manually created ,then I think You suppose to link property(drawing number) with the Property box(PART NUMBER) in BOM table..