Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Error Opening File in NX5

Status
Not open for further replies.

PDW

Automotive
Oct 13, 2010
110
Hello,

Similar to a previous post I cannot open a UG part.

UG Message see attachment:

Anybody any idea what could be wrong?
Already contacted Siemens Helpdesk but they couldn't open this one eather...
They are investigating it furhter, but you never know that somebody knows here a bit more.



Best regards,

Pascal,

NX5.04+TC2007 (GM Toolkit) / NX7.5 native
 
Replies continue below

Recommended for you

Was the file translated from another system, or is this a native NX part?
 
... allcatparts are done in catia v5.
maybe you try to import hte file into a NX new file.
reg.
 
No it was Translated from CATIA.
I see in the naming that "catpart" so I am pretty sure is CATIA V5.

The "other" side won't move because they say there data is not corrupt, but I think not.

Thnks


Best regards,

Pascal,

NX5.04+TC2007 (GM Toolkit) / NX7.5 native
 
Thanks for the tip,

but same result :-(

I will request the CATIA Data to export/import them myself.
then hopefully I can do better than them.

Thanks,
if the Helpdesk or I find anything I let you know


Best regards,

Pascal,

NX5.04+TC2007 (GM Toolkit) / NX7.5 native
 
I have often troble with the ... allcatpart.
I most case its a file memory problem during translation.
Second thing you can try to use the nx commandline utility:
ug_inspect

here is a little script

IF NOT DEFINED UGII_BASE_DIR GOTO:NOTSET

TITLE Running UG_INSPECT

Echo Running UG_INSPECT.exe
Echo Please Wait...
Echo.

set thisScriptPath=%~dp0
set corrupt=corruptFiles.txt
set logDirectory=ugInspectResults
set ugInspectCommand=%UGII_BASE_DIR%\UGII\ug_inspect.exe

:: create a directory for the results information if it does not exist
IF NOT EXIST %logDirectory% mkdir %logDirectory%

:: show me only the files with .prt extension and nothing else
:: then pass each file it finds to the utility
for /F %%f in ('dir /b *.prt') Do CALL :RUN_UG_INSPECT %%f

:: I'm done cycling through, quit the application
GOTO:QUIT

:RUN_UG_INSPECT
:: set the incoming file argument as a easy to read variable
set fileName=%*

:: check for known corruptions
:: %ugInspectCommand% %fileName% >> %logDirectory%\%fileName%_Results.txt

:: To display the help options of ug_inspect
::%ugInspectCommand% -help >> ug_inspect_HELP.txt

::%ugInspectCommand% -rm %fileName% >> %logDirectory%\%fileName%_RecordManagerPartition.txt
::%ugInspectCommand% -cmod %fileName% >> %logDirectory%\%fileName%_cmod.txt
::%ugInspectCommand% -ess %fileName% >> %logDirectory%\%fileName%_ExpressionPartition.txt
::%ugInspectCommand% -occ %fileName% >> %logDirectory%\%fileName%_occurrencesPartition.txt
::%ugInspectCommand% -path %fileName% >> %logDirectory%\%fileName%_pathPartition.txt
::%ugInspectCommand% -ps %fileName% >> %logDirectory%\%fileName%_parasolidPartition.txt
::%ugInspectCommand% -full %fileName% >> %logDirectory%\%fileName%_allPartitions.txt
::%ugInspectCommand% -trace %fileName% >> %logDirectory%\%fileName%_tracingInfo.txt
::%ugInspectCommand% -cookies %fileName% >> %logDirectory%\%fileName%_objectID.txt
::%ugInspectCommand% -refs %fileName% >> %logDirectory%\%fileName%_recentReference.txt
::%ugInspectCommand% -all_refs %fileName% >> %logDirectory%\%fileName%_allReference.txt

:: Look for all known corruptions
::%ugInspectCommand% -scan %fileName% >> %logDirectory%\%fileName%_corruptions.txt

:: use this option for pre version 12 files
%ugInspectCommand% -extract_all %fileName% >> %logDirectory%\%fileName%_extractAll.txt

:: extracts parasolid transmit files
::%ugInspectCommand% -extract %fileName% >> %logDirectory%\%fileName%_extractParasolidInfo.txt

::%ugInspectCommand% -release %fileName% >> %logDirectory%\%fileName%_releaseInfo.txt

GOTO:EOF

:: If a variable is not set, tell the user then quit
:NOTSET
echo.
echo 'UGII_BASE_DIR' is not set
echo Please set this variable, then run this script again
echo.
GOTO:QUIT


:QUIT
:: reset the windows title to default
title %comspec%
ECHO.
 
Thanks uwam2ie for this,

i am a complete dummy in this mather so i try to struggle to have this script running.
Any tips or Scripts for dummies?

Grtz.


Best regards,

Pascal,

NX5.04+TC2007 (GM Toolkit) / NX7.5 native
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor