NX
Output part name through post processor for items in Teamcenter
2021-10-06T23:28:03Z
NX for Manufacturing
Summary
Details
The post processor is set up to output the part name for the current CAM setup .prt file as part of the header of the code file. This output line calls the mom_part_name variable, which works fine in native NX, but in managed NX the resulting output is incorrect. It is writing all the background part identifier data:
The standard mom_part_name variable means something different in managed NX. There are additional mom variables available in a managed NX session, however. These are visible in the review tool window during post processing. The first event processed is MOM__part_attributes, which nicely lists the information we can access:
Note that this is coming from the sample MENCMachining object 000527, rev A, with the name of "000527_setup_mm" in TC, as below:
In the post you will want to substitute one of these other database attributes for the older mom_part_name. For example, you can use either mom_attr_PART_DB_PART_NAME or mom_attr_PART_DB_PART_NO, depending on whether you use the item name or item ID in TC as your descriptor in the code file. It is possible add a revision code line in the header, as a variable exists for that as well.
Hardware/Software Configuration
Platform: all OS: n/a OS Version: n/a Product: NX Application: CAM Version: V1953 Function: POSTPROCESS