×
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

Save all files in NX 8.5

Save all files in NX 8.5

Save all files in NX 8.5

(OP)
Hi.

Lets say I need to give a NX assembly file to a customer.
Now, what I have is a top level assembly file filled with sub assy's, detail parts, nuts, bolts, etc; all of which are scattered throughout my companies network. It's no problem for me to load parts over the network however it is a problem for me to send this assy to a customer.

Is there a function where I can have NX save the assembly file AND copy all the required detail part files to one location?

I know in autodesk inventor this was called "pack n' go".

I using NX 8.5

RE: Save all files in NX 8.5

You can search eng-tips for UGZIP which is an addon from a while back.
However one of my customers (budgiew) sent to this to me today, so it's relevant to pass on here:

After a little searching and some help from RonnyC @ Eng-Tips (http://www.eng-tips.com/viewthread.cfm?qid=316332), I think there is a better solution. We can use ugpc.exe, a windows batch file and 7-zip to create a better solution. Attached is the batch file I use, the prerequisites are NX obviously and 7-zip.

For this to work we need the following

1 - Save the batch file somewhere on the system
2 - Set the path in the batch file to the location, for me, "C:\Custom\NX90custom\NX90library\Export_7zip_Assy.bat" and check that the path to the 7-zip install is correct, for me, "C:\Program Files\7-Zip\7z"
3 - Create the shell extension in the registry, and add the command block to the registry, or use the below data in a *.reg file

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Zipassy]
@="ZipAssy"

[HKEY_CLASSES_ROOT\*\shell\Zipassy\command]
@="\"C:\\Custom\\NX90custom\\NX90library\\Export_7zip_Assy.bat\" %1"

4 - Now we can right mouse click on the assembly file in windows explorer and select "ZipAssy"



5 - Done, too easy, all of the assembly files are contained in the zip, essentally we now have pack-n-go



We can also have a zip file in place of 7z by editing the below lines in the batch file

For a zip file - "C:\Program Files\7-Zip\7z" a -tzip -mx7 %~n1.zip @%1.txt
for a 7z file - "C:\Program Files\7-Zip\7z" a -t7z -mx5 %~n1.7z @%1.txt

Anthony Galante
Senior Support Engineer



NX3 to NX10 with almost every MR (21versions)

RE: Save all files in NX 8.5

UGZIP does the same thing. Runs UGPC to collect the components of the assembly and then zips that folder. It can also be added to the registry as a Zip Assy click option.

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

RE: Save all files in NX 8.5

The reason my user had sent the information and batch to me was that he had run into the limitation on the number of characters in the file path that UGZIP has.

The method described above doesn't suffer from that, that's why he sent it to me to pass onto anyone else that asked.

Anthony Galante
Senior Support Engineer



NX3 to NX10 with almost every MR (21versions)

RE: Save all files in NX 8.5

(OP)
looslib:

Can UGZIP run with MX 8.5?
Do you have a link to downloade?

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