NX Unable to use a custom item type for CMM Inspection setups in integrated NX Manufacturing

2024-04-22T12:26:01Z
NX for Manufacturing

Summary


Details

User has defined a custom item type in BMIDE as a child of the OOTB Mfg0CMMInspMEOP item.  This item has been added to the list of item types under the "NX_supported_operation_types" preference in Teamcenter.  The CMM setup templates have been imported to Teamcenter as this item type and the pax file entries also reflect the custom item type. 

This is all standard procedure for using a custom item type for manufacturing, however the CMM tab does not appear on the File; New dialog.  

The NX log file indicates this is an item type problem:

  Processing C:\path\to\pax\files\Templates\nxdm_ugs_custom_inspection_templates.pax for File New Templates  Note: Validation of the <RelationType> value: 'master' is skipped for template: Template Name DMIS General Setup, Filename %UGMGR=V3.2 PH=hTJAQwLW5sHXGA PRH=yQMAQwLW5sHXGA PN=insp_general_assy_metric PRN=A RT="has shape" AT="UG master part file" , application type InspectionTemplate.  Error in template validation: The part specified in the template is of wrong type.Please use a template part which is created from the out-of-box template part.  Removing template: 'DMIS General Setup' application: 'InspectionTemplate', units: 'Metric', file: '%UGMGR=V3.2 PH=hTJAQwLW5sHXGA PRH=yQMAQwLW5sHXGA PN=insp_general_assy_metric PRN=A RT="has shape" AT="UG master part file" '  

Solution

The CMM Inspection application runs slightly different than regular manufacturing.  One additional step is required.  A new environment variable must be created to hold the custom CMM setup item type, in addition to all the steps already taken to support the new item type in TC and the pax file. 

The new environment variable has to be a system variable, so it has to be set either in control panel or in the start_nxmanager.bat file that launches managed NX, rather than in the ugii_env_ug.dat file.  This env has to be read very early on when initially launching NX, so that it will appear in the list of "System Environment Variables" in the NX log file.  Create the environment variable as: 

set UGII_INSPECTION_SETUP_TYPE_NAME_OVERRIDE=your_item_type

It can go in the start_nxmanager.bat file right in the same section where we set UGII_BASE_DIR, UGII_ROOT_DIR, etc.  

KB Article ID# PL8787091

Contents

SummaryDetails

Associated Components

TC for Manufacturing