NX How to specify Item Type for Routing Stock as Component (SAC)

2021-10-06T23:26:37Z
NX for Design

Summary


Details

When using the Stock as Component (SAC) option for Routing in a Teamcenter environment, the stock components will be created as the default item type. e.g. "Item". 

If Teamcenter has been configured to prevent the default item type as components (using the TC preference TCAllowedChildTypes_* ) this will result in an Internal error when new stock is added to the assembly or the assembly cannot be saved.

To prevent this the SAC item type needs to set to be an acceptable item type. How can this be achieved?

Solution

There are two actions that need to be performed to set the default Stock as Component (SAC) item type

1) Enable the TEMP_STOCK_COMPONENT_NAME plugin. This is enabled by uncommenting  the appropriate section in the application view file (e.g. ugroute_mech_metric.xml).

 

2) Set the environment variable UGII_ROUTE_SAC_PART_TYPE to the required item type. 
For example UGII_ROUTE_SAC_PART_TYPE=my_item_type




Notes and References

For details on Routing Plug-ins refer to the NX Help Documentation section "Routing plug-ins in NX"

https://docs.plm.automation.siemens.com/tdoc/nx/1847/nx_help#uid:xid1128417:xid1128430:index_xid915966:xid915981:xid1398482:xid915970




Hardware/Software Configuration

Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: ROUTING_GENERAL
Version: V12.0.2
Function: STOCK_AS_COMP
Product: NX
Application: ROUTING_GENERAL
Version: V12.0.2
Function: ADMINISTRATION

Ref: 002-8008437

KB Article ID# PL8008437

Contents

SummaryDetails

Associated Components

Routing