NX How to run command line utility to create NX UGMaster data from JT DirectModel dataset in Teamcenter environment?

2024-01-22T11:18:08Z
NX for Design

Summary


Details

Without starting an interactive session of NX, is there a way to use command line utility to create NX UGMaster data from JT DirectModel dataset in Teamcenter environment?


Solution

Use this tool "part_utility.exe" located in NXBIN directory, it will generate an UGMaster dataset under the Item Revision. These are the basic required switches to run with this tool:

C:\apps\PLM\Tc14\tcroot\tc_menu>C:\apps\CAD\NX2306\NXBIN\part_utility.exe -managed_mode=yes -u=infodba -p=infodba -g=dba -part=@DB/Item_ID/Revision_ID -structure_sync=from_teamcenter -force_structure_sync=yes -y -force_operate -force_read_jt


Prior to running the above command, following must be first configured in both NX and Teamcenter.

In Teamcenter:

Set up following TC Preferences:

Name:  TC_NX_Foreign_Datasets

Value:  DatasetType="DirectModel" NamedReference="JTPART" NamedReferenceFormat="BINARY" NamedReferenceTemplate="jt"


In NX:

Set up following two Customer Defaults:

  Gateway > JT Files > Export : Save JT Data is turned ON

  Teamcenter Integration > General > Parts without NX Datasets: Parts with JT Dataset / Add NX Datasets = On Save


KB Article ID# PL8770047

Contents

SummaryDetails

Associated Components

Teamcenter Integration for NX