×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Extenal batch file to export JT files

Extenal batch file to export JT files

Extenal batch file to export JT files

(OP)
Hello,

I have a batch file that I attached to the right mouse click to export jt files from NX3 part files.  The result is monolithic whenever I select an assembly file.

Now on NX5, it does not work.  I have tried modifying it but the result is a single jt file for each component whenever I use the external batch file.

Inside UG, it works OK.  I am using the same tessUG.config file.

Here is my batch file and attached is the config file:

@rem  run_ugtopv
@rem  Copyright (c) 2004-2005 UGS
@rem  This script selects an appropriate version of UG translator

@if not exist "%UGII_BASE_DIR%" goto :no_ug

@set PATH=D:\UGNX5;D:\UGNX5\UGII;%PATH%
@set UGII_ROOT_DIR=D:\UGNX5\UGII
@set JTK_USE_MASTER_NOTATION_PMI_FORMAT=1
@set UGII_PV_TRANS_MODEL_ANN=1

@rem This must be set to use the instance ID for CADIDs
@set JTK_XLATR_ENABLE_PERSISTED_INSTANCE_ID=1

@"%UGII_BASE_DIR%\PVTRANS\ugtopv.exe" -config="H:\a1032-pds-Roark\util\Batch_Files\tessUG.config" %*
@goto :end

:no_ug
@echo "The environment variable UGII_BASE_DIR is not set"
@echo "Exiting..."
@goto :end

:end

UGNX5.0.4.1 MP6 \ WinXP-SP3
Productive Design Services
www.productivedesign.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources