Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

dxfdwg problem

Status
Not open for further replies.

bbylls

Mechanical
Feb 11, 2011
163
In UG NX 8.5.1.3 the translator (Start->All Programs->Siemens NX 8.5->Translators->dxfdwg)does not work.
A command prompt box flashes on the screen and nothing else.
I opened a command prompt window in the dxfdwg directory, ran the batch file with the proper arguments (double checked) and got a message that DXFDWG could not run because the UG directory could not be found. HMMMMM
So I changed the echo off to echo on in the batch file to see what was going on and ran it again.
It could not find UG because it truncated all the file paths at the first space. It was pointing to "c:\program"
Is there some way to add a code for the space character so it will not truncate?
I copied all the arguments from the icon that UG installed in the start menu.
Thank you.

Brad
 
Replies continue below

Recommended for you

I figured out that problem and now see what is flashing on the screen.
"Java version is 1.8.0_25
This meets or exceeds the minimum required version of 1.7.0_03
\java\jre1.8.0_25 was unexpected at this time."
Any help is great.
Thanks

Brad
 
The problem will be that the UGII_JAVA_HOME variable isn't set correctly.

I just tested with NX8.5.3 and the translator works with that versions of Java (same as yours).

If your don't know how to set that variable:

Windows Control Panel -> System -> Advanced System Settings (Upper left) -> Environment Variables

Create a new user variable, the name will be: UGII_JAVA_HOME
Set the value to where your 64bit Java is installed. C:\Program Files\Java\jre1.8.0_25 is the value on my system.


Anthony Galante
Senior Support Engineer


NX3 to NX9 with almost every MR (18versions) plus the NX10 Beta
 
Thanks for the tip, but that didn't help.
Variable is set correctly.
Could it have something to do with 32bit vs. 64bit?
I am on a 64bit machine, but the IT guy installed Java in c:\program files (x86)
Thinking this might be a 32bit Java.

Brad
 
Check if you have 64bit Java installed because the translators need 64bit Java.
32bit is only used for the web browsers for NX docs.


Anthony Galante
Senior Support Engineer


NX3 to NX9 with almost every MR (18versions) plus the NX10 Beta
 
That explains it.
I was having trouble with my help files, so installed a new 32bit java and removed the 64bit.
THANK YOU
 
Can the system have both 32 and 64 bit?
How do I set the variables so NX help uses 32bit and the translators use 64bit?
 
Just install 32 bit Java. The browsers will use it via reading registry and all the NX Java apps will use the variables that you set.

Anthony Galante
Senior Support Engineer


NX3 to NX9 with almost every MR (18versions) plus the NX10 Beta
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor