×
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

Error Opening File in NX5

Error Opening File in NX5

Error Opening File in NX5

(OP)
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

RE: Error Opening File in NX5

Was the file translated from another system, or is this a native NX part?

RE: Error Opening File in NX5

... allcatparts are done in catia v5.
maybe you try to import hte file into a NX new file.
reg.

RE: Error Opening File in NX5

(OP)
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

RE: Error Opening File in NX5

(OP)
Thanks for the tip,

but same result sad

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

RE: Error Opening File in NX5

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.

RE: Error Opening File in NX5

(OP)
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

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