NX How to use my own """ugstep214.def""" for NX_to_STEP214 batch commandline ? Please Help

2021-10-06T23:27:40Z
NX for Design

Summary


Details

When using the batch process for creating a step214 file from an NX12 part file, a Setting file is automatically created.
This is not what I want.
How can I let the process use my own setting file? 




Solution

This Solution Proposal has been tested on latest NX12.0.2.9 available today.

(see also the Image below, which demonstrates that "my personal" def file has been used and not another one.
See the 2 highlighted "Author" and "Organization" Attributes, when you open the resulting STEP file in Teamcenter Visualization MockUp [just as example] )

You can/should of course change all needed variables, to suite your needs, your installation directory, your ugstep214.def location, and your input and output filenames.

NOTE : you can find the used toycar_assy.prt under the NX12 installation.

Solution :
set UGII_BASE_DIR=D:\plm\NX12
set PATH=%PATH%;%UGII_BASE_DIR%\ugii
"%UGII_BASE_DIR%\STEP214UG\step214ug.cmd" toycar_assy.prt o=MY_CAR_stp214.stp d="%UGII_BASE_DIR%\STEP214UG\ugstep214.def" l=%1.log

RESULT :

Best Regards
Vincenzo Miglietta

Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 1064
Product: NX
Application: TRANSLATOR
Version: V12.0.2
Function: STEP_AP214

Ref: 002-8506707

KB Article ID# PL8506707

Contents

SummaryDetails

Associated Components

CAD Translators